Skip to content

Commit

Permalink
Configure radar-commons-gradle to use the version catalog of the root…
Browse files Browse the repository at this point in the history
… project
  • Loading branch information
pvannierop committed Sep 26, 2024
1 parent 631ec5b commit 99efcc7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 58 deletions.
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# IMPORTANT!! The versions in the following files must be kept in sync:
# - gradle/libs.versions.toml
# - radar-commons-gradle/gradle/libs.versions.toml
# - radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt
[versions]

Expand Down
1 change: 1 addition & 0 deletions radar-commons-gradle/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# IMPORTANT!! Also set projectVersion in gradle.properties of the root project.
projectVersion=1.1.3-SNAPSHOT
56 changes: 0 additions & 56 deletions radar-commons-gradle/gradle/libs.versions.toml

This file was deleted.

8 changes: 8 additions & 0 deletions radar-commons-gradle/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Allows to use the root project version catalog in the includeBuild module
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package org.radarbase.gradle.plugin
Versions are defined in this object because they cannot be read from the gradle project.
IMPORTANT!! The versions in the following files must be kept in sync:
- gradle/libs.versions.toml
- radar-commons-gradle/gradle/libs.versions.toml
- radar-commons-gradle/src/main/kotlin/org/radarbase/gradle/plugin/Versions.kt
*/
@Suppress("ktlint:standard:property-naming")
Expand Down

0 comments on commit 99efcc7

Please sign in to comment.