From e228bed9440bee480d8a547ce24ab9e96a304240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vivien=20Mah=C3=A9?= Date: Wed, 13 Nov 2024 09:40:13 +0100 Subject: [PATCH] Move Maven pom name and description values to ProjectConfiguration file --- buildSrc/src/main/kotlin/ProjectConfiguration.kt | 2 ++ czan/build.gradle.kts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/ProjectConfiguration.kt b/buildSrc/src/main/kotlin/ProjectConfiguration.kt index 4ebea14..016acdc 100644 --- a/buildSrc/src/main/kotlin/ProjectConfiguration.kt +++ b/buildSrc/src/main/kotlin/ProjectConfiguration.kt @@ -15,6 +15,8 @@ object ProjectConfiguration { const val minSDK = 24 object Maven { + const val name = "CZAN" + const val description = "CZAN Atomic Design System for Kotlin Multiplatform and Compose Multiplatform" const val group = "io.github.tweener" const val packageUrl = "https://github.com/Tweener/czan" const val gitUrl = "github.com:Tweener/czan.git" diff --git a/czan/build.gradle.kts b/czan/build.gradle.kts index 9a7db18..15d69c4 100644 --- a/czan/build.gradle.kts +++ b/czan/build.gradle.kts @@ -164,8 +164,8 @@ publishing { artifact(tasks["dokkaJavadocJar"]) pom { - name.set("CZAN") - description.set("CZAN Design System for Kotlin Multiplatform and Compose Multiplatform") + name.set(ProjectConfiguration.Czan.Maven.name) + description.set(ProjectConfiguration.Czan.Maven.description) url.set(ProjectConfiguration.Czan.Maven.packageUrl) licenses {