Package io.freefair.gradle.plugins.maven
Class OptionalPlugin
java.lang.Object
io.freefair.gradle.plugins.maven.OptionalPlugin
Plugin that provides an
optional configuration for optional dependencies.
Creates an optional configuration. The compileOnly,
testCompileOnly, and testRuntimeOnly configurations all
extend from it, so anything declared as optional is available at
compile time and for tests but is excluded from the runtime classpath
and from published dependency metadata.
This is similar to Maven's <optional>true</optional> dependency scope.
-
Constructor Summary
Constructors -
Method Summary