as the question title, I want to use collection factory method such as 'Map.of("string", Object) in java 8 on intelliJ IDEA(Community Version).
I'm aware that it supports in java 9 version, but I've seen that using collection factory method is possible via maven dependency of 'org.codehaus.groovy' in pom.xml on eclipse.
For this reason, I assume that it is also possible to use collection factory method on intelliJ with gradle in a way.
If there is to do any for this, please give me answers.
Thanks for reading.