diff --git a/gradle.properties b/gradle.properties index 7f31482b..5792a1b1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,6 +2,7 @@ ### LIB ### ################################################# libVersion=3.10.0 +libArtifact=barista libGroup=com.adevinta.android ################################################# diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 86a23bb2..bef0bc3f 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -3,9 +3,7 @@ plugins { kotlin("android") } -apply(from= "../config/android-quality.gradle") - -ext["PUBLISH_ARTIFACT_ID"] = "barista" +apply(from = "../config/android-quality.gradle") apply(from = "${rootProject.projectDir}/scripts/publish-module.gradle") diff --git a/scripts/publish-module.gradle b/scripts/publish-module.gradle index dcfca1a7..b49a893b 100644 --- a/scripts/publish-module.gradle +++ b/scripts/publish-module.gradle @@ -29,7 +29,7 @@ afterEvaluate { publications { release(MavenPublication) { groupId project.property("libGroup") - artifactId project.project.getName() + artifactId project.property("libArtifact") version project.property("libVersion") if (project.plugins.findPlugin("com.android.library")) { from components.release