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