diff --git a/convention-plugin/build.gradle.kts b/convention-plugin/build.gradle.kts index 0727a32..543f504 100644 --- a/convention-plugin/build.gradle.kts +++ b/convention-plugin/build.gradle.kts @@ -5,9 +5,15 @@ plugins { `maven-publish` // signing // We don't use the version catalog here, to avoid a bootstrapping problem. - id("org.metaborg.gitonium") version "1.6.2" + id("org.metaborg.gitonium") version "1.7.0" } +gitonium { + // Get the current version into the program + buildPropertiesFile.set(layout.buildDirectory.file("resources/main/org/metaborg/convention/version.properties")) +} + +version = gitonium.version group = "org.metaborg" description = "The Metaborg Gradle convention plugin." @@ -53,11 +59,6 @@ gradlePlugin { } } -// Get the current version into the program -gitonium { - buildPropertiesFile.set(layout.buildDirectory.file("resources/main/org/metaborg/convention/version.properties")) -} - publishing { afterEvaluate { publications { diff --git a/depman/build.gradle.kts b/depman/build.gradle.kts index 1c22866..c5772b4 100644 --- a/depman/build.gradle.kts +++ b/depman/build.gradle.kts @@ -8,6 +8,9 @@ plugins { } allprojects { + apply(plugin = "org.metaborg.gitonium") + + version = gitonium.version group = "org.metaborg" pluginManager.withPlugin("org.metaborg.convention.maven-publish") { diff --git a/depman/gradle/libs.versions.toml b/depman/gradle/libs.versions.toml index 7a972e4..d375a96 100644 --- a/depman/gradle/libs.versions.toml +++ b/depman/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] # Plugins kotlin = "1.8.20" # https://kotlinlang.org/ -gitonium = "1.6.2" # https://github.com/metaborg/gitonium +gitonium = "1.7.0" # https://github.com/metaborg/gitonium foojay = "0.8.0" # https://github.com/gradle/foojay-toolchains metaborg-gradle-config = "0.7.0" # https://github.com/metaborg/gradle.config devenv-spoofax-gradle = "0.5.9" # https://github.com/metaborg/spoofax.gradle