From a624e10bbddb8d103d9f7847835248ce7bdcc97c Mon Sep 17 00:00:00 2001 From: Bruno Ziswiler Date: Tue, 17 Dec 2024 15:22:14 +0100 Subject: [PATCH] COPCD-40: Extracted version to toml file. --- build.gradle.kts | 2 +- gradle/libs.versions.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index e53330f..652aaaa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { alias(libs.plugins.detekt) alias(libs.plugins.kotlin.jvm) alias(libs.plugins.spotless) - id ("com.gradle.plugin-publish") version "1.3.0" + alias(libs.plugins.plugin.publish) } group = "ch.ergon.todochecker" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index cc4a577..778e176 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,6 +3,7 @@ detekt = "1.23.0" jira-rest-java-client = "5.2.6" kotlin = "1.8.22" spotless = "6.19.0" +publish = "1.3.0" [libraries] jira-rest-java-client = { module = "com.atlassian.jira:jira-rest-java-client-core", version.ref = "jira-rest-java-client" } @@ -11,3 +12,4 @@ jira-rest-java-client = { module = "com.atlassian.jira:jira-rest-java-client-cor detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } spotless = { id = "com.diffplug.spotless", version.ref = "spotless" } +plugin-publish = { id = "com.gradle.plugin-publish", version.ref = "publish" }