Setting IntelliJ compiler args in Gradle
问题 I need to add the -parameters java compiler parameter for my tests to succeed. I can do this in gradle already for ./gradlew build to work, or manually by adding -parameters under IntelliJ Settings > Build.. > Compiler > Java Compiler > Additional command line parameters: so they work in the IDE, but I don't want everyone who checks out this repo to have to do a manual step. My .ipr file does show <component name="JavacSettings"> <option name="ADDITIONAL_OPTIONS_STRING" value="-parameters" />