CompileOnly plugin for Gradle released

A few moments ago I released version 1 of a handy plugin for Gradle.

This plugin adds compileOnly as a new configuration to a java or groovy build. If either the java nor the groovy is applied, the plugin applies automatically the java plugin.
It takes care of adding this configuration to the standard source sets main and test.
And it is aware of Eclipse and IntellJ IDEA as IDEs and adds this configuration to the provided dependencies of them, if the plugins are applied.

How to apply

 Usage

Like any other configuration

 
0 Kudos
Don't
move!

Leave a Reply

Your email address will not be published. Required fields are marked *