I have a Gradle-managed multi-project setup that relies on the new Java 8 -parameters compiler flag. I need 2 ways of including the compiler flag:
-parameters
You should use standard way of configuring Java compile plugin:
apply plugin: 'java' compileJava { options.compilerArgs << '-parameters' }