File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ plugins {
55 id ' com.google.protobuf' version ' 0.8.18'
66 id ' idea'
77 id ' org.ajoberstar.grgit' version ' 4.1.1'
8+ id ' io.github.gradle-nexus.publish-plugin' version " 1.1.0"
89}
910
1011group = " com.transferwise.envoy"
@@ -76,6 +77,15 @@ apply plugin: "signing"
7677ext. artifactoryUser = project. hasProperty(" artifactoryUser" ) ? project. artifactoryUser : System . env. ARTIFACTORY_USER as String
7778ext. artifactoryPassword = project. hasProperty(" artifactoryPassword" ) ? project. artifactoryPassword : System . env. ARTIFACTORY_PASSWORD as String
7879
80+ nexusPublishing {
81+ repositories {
82+ sonatype {
83+ username = System . getenv(" SONATYPE_USER" )
84+ password = System . getenv(" SONATYPE_PASSWORD" )
85+ }
86+ }
87+ }
88+
7989publishing {
8090 publications {
8191 mavenJava(MavenPublication ) {
You can’t perform that action at this time.
0 commit comments