@Incubating public interface JavaResolutionConsistency
Modifier and Type | Method | Description |
---|---|---|
void |
useCompileClasspathVersions() |
Configures the runtime classpath of every source set to be consistent
with the compile classpath.
|
void |
useRuntimeClasspathVersions() |
Configures the compile classpath of every source set to be consistent
with the runtime classpath.
|
void useCompileClasspathVersions()
Unless you have a good reason to, this option should be preferred to
useRuntimeClasspathVersions()
for different reasons:
void useRuntimeClasspathVersions()
In addition, the test runtime classpath is going to be configured to be consistent with the main runtime classpath.
Prefer useCompileClasspathVersions()
unless you have special
requirements at runtime.