public final class BaselineVersions
extends java.lang.Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
buildscript {
dependencies {
classpath 'com.netflix.nebula:nebula-dependency-recommender:5.2.0'
}
}
allprojects {
apply plugin: 'nebula.dependency-recommender'
dependencyRecommendations {
strategy OverrideTransitives
propertiesFile file: project.rootProject.file('versions.props')
if (file('versions.props').exists()) {
propertiesFile file: project.file('versions.props')
}
}
}
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DISABLE_PROPERTY |
static boolean |
IS_CORE_BOM_ENABLED
System property which, when true, instructs
nebula.dependency-recommender to only support sourcing
constraints from a BOM. |
| Constructor and Description |
|---|
BaselineVersions() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.gradle.api.Project project) |
public static final boolean IS_CORE_BOM_ENABLED
nebula.dependency-recommender to only support sourcing
constraints from a BOM. In that case, nebula doesn't support sourcing recommendations from versions.props
anymore.public static final java.lang.String DISABLE_PROPERTY