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 {