Skip to content

Commit 1570283

Browse files
committed
Added nexus block
1 parent 3feb886 commit 1570283

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

build.gradle

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
2-
//plugins {
3-
// id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
4-
//}
1+
plugins {
2+
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
3+
}
54

65
allprojects {
76
group = 'com.auth0'
@@ -10,14 +9,14 @@ allprojects {
109
mavenCentral()
1110
}
1211
}
13-
//
14-
//nexusPublishing {
15-
// repositories {
16-
// sonatype {
17-
// nexusUrl.set(uri('https://ossrh-staging-api.central.sonatype.com/service/local/'))
18-
// snapshotRepositoryUrl.set(uri('https://central.sonatype.com/repository/maven-snapshots/'))
19-
// username.set(System.getenv("MAVEN_USERNAME"))
20-
// password.set(System.getenv("MAVEN_PASSWORD"))
21-
// }
22-
// }
23-
//}
12+
13+
nexusPublishing {
14+
repositories {
15+
sonatype {
16+
nexusUrl = uri('https://ossrh-staging-api.central.sonatype.com/service/local/')
17+
snapshotRepositoryUrl = uri('https://central.sonatype.com/repository/maven-snapshots/')
18+
username = System.getenv("MAVEN_USERNAME")
19+
password = System.getenv("MAVEN_PASSWORD")
20+
}
21+
}
22+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)