@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 |
annotationProcessor(Object dependencyNotation) |
Add a dependency to the set of annotationProcessor dependencies.
|
void |
annotationProcessor(Object dependencyNotation,
Action<? super Dependency> configuration) |
Add a dependency to the set of annotationProcessor dependencies.
|
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.
void annotationProcessor(Object dependencyNotation)
annotationProcessor
dependencies containing annotation processors to be run at compile time.
dependencyNotation
- dependency to addValid dependency notations.
void annotationProcessor(Object dependencyNotation, Action<? super Dependency> configuration)
annotationProcessor
dependencies containing annotation processors to be run at compile time.
dependencyNotation
- dependency to addconfiguration
- additional configuration for the provided dependencyValid dependency notations.