Skip to content

Commit 6747091

Browse files
authored
Merge pull request #33 from auth0/sonatype_fix
chore: Fixed the publishing sonatype publishing error
2 parents 74570ad + a83d911 commit 6747091

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ subprojects {
1616
nexusPublishing {
1717
repositories {
1818
sonatype{
19+
stagingProfileId.set(MAVEN_GROUP_ID)
1920
nexusUrl.set(uri('https://ossrh-staging-api.central.sonatype.com/service/local/'))
2021
snapshotRepositoryUrl.set(uri('https://central.sonatype.com/repository/maven-snapshots/'))
2122
username.set(System.getenv("MAVEN_USERNAME"))

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
GROUP=com.auth0.universalcomponents
22
POM_ARTIFACT_ID=universal-components
3+
MAVEN_GROUP_ID = com.auth0
34

45
POM_NAME=universal-components-android
56
POM_DESCRIPTION=Android SDK for Auth0 Universal Components

gradle/maven-publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ publishing {
2222
artifactId = POM_ARTIFACT_ID
2323
version = getVersionName()
2424

25-
artifact("${layout.buildDirectory}/outputs/aar/${project.getName()}-release.aar")
25+
artifact("${layout.buildDirectory.get()}/outputs/aar/${project.getName()}-release.aar")
2626
artifact sourcesJar
2727
artifact javadocJar
2828

0 commit comments

Comments
 (0)