Sets the standard Helix repository layout for project dependency resolution and layers in Helix forced dependency overrides.
- Applies Dependency Force.
- Adds Maven Central and a Sonatype snapshots repository.
- Adds mavenLocal only when the project is run with the mavenLocal property.
Usage
build.gradle
Groovy DSL
plugins {
id 'com.helixframework.dependency-management'
}
build.gradle.kts
Kotlin DSL
plugins {
id("com.helixframework.dependency-management")
}
Configuration
This plugin does not create a Helix-specific extension. Configure it through the following properties or helper methods.
mavenLocal(default:disabled): When present, the plugin adds mavenLocal() to the repository chain before Maven Central.