From 5a296c7a3a8ab428ae567aec83ce8d1d32d8d91f Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Wed, 4 Oct 2023 21:36:22 +0200 Subject: [PATCH] Use Gradle version catalog --- build.gradle.kts | 2 +- gradle/libs.versions.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index a2d67ccd2..8baa7b372 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("multiplatform") apply false - id("com.vanniktech.maven.publish") version libs.versions.vannikMavenPublish.get() apply false + alias(libs.plugins.mavenPublish) apply false } buildscript { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b5ab09307..d5ce28972 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -62,3 +62,4 @@ truth = "com.google.truth:truth:1.1.5" binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidator" } detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } kspPlugin = { id = "com.google.devtools.ksp", version.ref = "kspVersion" } +mavenPublish = { id = "com.vanniktech.maven.publish", version.ref = "vannikMavenPublish" }