File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ publishing {
130130 def snapshotsRepoUrl = ' https://oss.sonatype.org/content/repositories/snapshots/'
131131 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
132132 credentials {
133- username = System . getenv(' SONATYPE_NEXUS_USERNAME ' )
134- password = System . getenv(' SONATYPE_NEXUS_PASSWORD ' )
133+ username = System . getenv(' OSSRH_USERNAME ' )
134+ password = System . getenv(' OSSRH_PASSWORD ' )
135135 }
136136 }
137137 }
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ publishing {
8686 def snapshotsRepoUrl = ' https://oss.sonatype.org/content/repositories/snapshots/'
8787 url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
8888 credentials {
89- username = System . getenv(' SONATYPE_NEXUS_USERNAME ' )
90- password = System . getenv(' SONATYPE_NEXUS_PASSWORD ' )
89+ username = System . getenv(' OSSRH_USERNAME ' )
90+ password = System . getenv(' OSSRH_PASSWORD ' )
9191 }
9292 }
9393 }
You can’t perform that action at this time.
0 commit comments