-
-
Notifications
You must be signed in to change notification settings - Fork 107
Draft: configuration options
Jean-Michel Fayard edited this page Sep 13, 2022
·
1 revision
refreshVersions has configuration options that are documented (well) in the docs
See https://jmfayard.github.io/refreshVersions/setup/#configure-the-plugin
Draft documentation:
refreshVersions {
// Usage: if you use versions catalog, you can put both files in the same folder
versionsPropertiesFile = file("gradle/versions.properties")
// See https://jmfayard.github.io/refreshVersions/gradle-buildsrcversions/
enableBuildSrcLibs()
// Use case: code we merge in main but is not ready for general consumption yet
featureFlags {
enable(LIBS)
disable(GRADLE_UPDATES)
}
// Define your own rules
// See also: Simpler API for configuring simple rules https://github.com/jmfayard/refreshVersions/issues/580
extraArtifactVersionKeyRules("""
org.apache.poi:poi(-*)
^^^^^^.^^^
""".trimIndent())
}