Dependencies, GradleDependencies, PlatformDependencyModifiers, TestFixturesDependencyModifiers@Incubating public interface JvmComponentDependencies extends PlatformDependencyModifiers, TestFixturesDependencyModifiers, GradleDependencies
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.annotationProcessor dependencies are used only at compilation, and are added to the annotation processor classpathFor more information.| Modifier and Type | Method | Description |
|---|---|---|
DependencyAdder |
getAnnotationProcessor() |
Returns a
DependencyAdder to add to the set of annotation processor dependencies. |
DependencyAdder |
getCompileOnly() |
Returns a
DependencyAdder to add to the set of compile-only dependencies. |
DependencyAdder |
getImplementation() |
Returns a
DependencyAdder to add to the set of implementation dependencies. |
DependencyAdder |
getRuntimeOnly() |
Returns a
DependencyAdder to add to the set of runtime-only dependencies. |
getDependencyFactory, module, module, project, projectgradleApi, gradleTestKit, localGroovyenforcedPlatform, enforcedPlatform, enforcedPlatform, enforcedPlatform, platform, platform, platform, platformtestFixtures, testFixtures, testFixtures, testFixturesDependencyAdder getImplementation()
DependencyAdder to add to the set of implementation dependencies.
implementation dependencies are used at compilation and runtime.
DependencyAdder to add to the set of implementation dependenciesDependencyAdder getCompileOnly()
DependencyAdder to add to the set of compile-only dependencies.
compileOnly dependencies are used only at compilation and are not available at runtime.
DependencyAdder to add to the set of compile-only dependenciesDependencyAdder getRuntimeOnly()
DependencyAdder to add to the set of runtime-only dependencies.
runtimeOnly dependencies are not available at compilation and are used only at runtime.
DependencyAdder to add to the set of runtime-only dependenciesDependencyAdder getAnnotationProcessor()
DependencyAdder to add to the set of annotation processor dependencies.
annotationProcessor dependencies are used only at compilation, and are added to the annotation processor classpath.
DependencyAdder to add to the set of annotation processor dependencies