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 that extends compileOnly,
testCompileOnly, and testRuntimeOnly. This allows declaring
dependencies that are:
- Available at compile time but not included in the runtime classpath
- Available for test compilation and execution
- Similar to Maven's
<optional>true</optional>dependency scope
-
Constructor Summary
Constructors -
Method Summary