Skip to content

Commit

Permalink
deduplicate modelix.core version
Browse files Browse the repository at this point in the history
  • Loading branch information
slisson committed Dec 10, 2023
1 parent 63d5f0b commit 8d610e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ pluginManagement {
}
versionCatalogs {
create("coreLibs") {
from("org.modelix:core-version-catalog:3.14.2-12-g452325c.dirty-SNAPSHOT")
val modelixCoreVersion = file("gradle/libs.versions.toml").readLines()
.first { it.startsWith("modelixCore = ") }
.substringAfter('"')
.substringBefore('"')
from("org.modelix:core-version-catalog:$modelixCoreVersion")
}
}
}
Expand Down

0 comments on commit 8d610e4

Please sign in to comment.