@Incubating public interface JvmComponentDependencies
JvmTestSuite.
implementation dependencies are used at compilation and runtime.compileOnly dependencies are used only at compilation and are not available at runtime.runtimeOnly dependencies are not available at compilation and are used only at runtime.For more information.| Modifier and Type | Method | Description |
|---|---|---|
void |
compileOnly(Object dependencyNotation) |
Add a dependency to the set of compileOnly dependencies.
|
void |
compileOnly(Object dependencyNotation,
Action<? super Dependency> configuration) |
Add a dependency to the set of compileOnly dependencies with additional configuration.
|
void |
implementation(Object dependencyNotation) |
Add a dependency to the set of implementation dependencies.
|
void |
implementation(Object dependencyNotation,
Action<? super Dependency> configuration) |
Add a dependency to the set of implementation dependencies with additional configuration.
|
void |
runtimeOnly(Object dependencyNotation) |
Add a dependency to the set of runtimeOnly dependencies.
|
void |
runtimeOnly(Object dependencyNotation,
Action<? super Dependency> configuration) |
Add a dependency to the set of runtimeOnly dependencies with additional configuration.
|
void implementation(Object dependencyNotation)
implementation dependencies are used at compilation and runtime.
dependencyNotation - dependency to addValid dependency notations.void implementation(Object dependencyNotation, Action<? super Dependency> configuration)
implementation dependencies are used at compilation and runtime.
dependencyNotation - dependency to addconfiguration - additional configuration for the provided dependencyValid dependency notations.void compileOnly(Object dependencyNotation)
compileOnly dependencies are used only at compilation and are not available at runtime.
dependencyNotation - dependency to addValid dependency notations.void compileOnly(Object dependencyNotation, Action<? super Dependency> configuration)
compileOnly dependencies are used only at compilation and are not available at runtime.
dependencyNotation - dependency to addconfiguration - additional configuration for the provided dependencyValid dependency notations.void runtimeOnly(Object dependencyNotation)
runtimeOnly dependencies are not available at compilation and are used only at runtime.
dependencyNotation - dependency to addValid dependency notations.void runtimeOnly(Object dependencyNotation, Action<? super Dependency> configuration)
runtimeOnly dependencies are not available at compilation and are used only at runtime.
dependencyNotation - dependency to addconfiguration - additional configuration for the provided dependencyValid dependency notations.