From 4e75b39fd28dc22e375f2a1a11659e324bada1d0 Mon Sep 17 00:00:00 2001 From: Jacob Derynk Date: Mon, 2 Mar 2026 15:44:06 +0100 Subject: [PATCH] hotfix: don't override version in maven publishing configuration --- gradle.properties | 1 + library-compose/build.gradle.kts | 3 +-- library/build.gradle.kts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 8a0d2f7..48b22e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,5 +4,6 @@ android.useAndroidX=true android.enableJetifier=true android.nonTransitiveRClass=true android.nonFinalResIds=true +VERSION_NAME=2.X.X-SNAPSHOT mavenCentralPublishing=true signAllPublications=true diff --git a/library-compose/build.gradle.kts b/library-compose/build.gradle.kts index 10889fd..3356e39 100644 --- a/library-compose/build.gradle.kts +++ b/library-compose/build.gradle.kts @@ -62,8 +62,7 @@ android { mavenPublishing { coordinates( groupId = "app.futured.donut", - artifactId = "donut-compose", - version = project.findProperty("VERSION_NAME") as String? ?: "2.X.X-SNAPSHOT" + artifactId = "donut-compose" ) pom { diff --git a/library/build.gradle.kts b/library/build.gradle.kts index b778f43..b745b72 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -37,8 +37,7 @@ dependencies { mavenPublishing { coordinates( groupId = "app.futured.donut", - artifactId = "donut", - version = project.findProperty("VERSION_NAME") as String? ?: "2.X.X-SNAPSHOT" + artifactId = "donut" ) pom {