Skip to content

Commit

Permalink
Fix artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma committed Aug 19, 2021
1 parent ac15644 commit 857827e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### LIB ###
#################################################
libVersion=3.10.0
libArtifact=barista
libGroup=com.adevinta.android

#################################################
Expand Down
4 changes: 1 addition & 3 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 857827e

Please sign in to comment.