From 8d610e4adf3670d0d4dce6e7e860a2fc2c62a984 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Sun, 10 Dec 2023 08:48:45 +0100 Subject: [PATCH] deduplicate modelix.core version --- settings.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 70d250ee..18384183 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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") } } }