File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 8787 PUBLISH_USER : ${{ secrets.PUBLISH_USER }}
8888 PUBLISH_KEY : ${{ secrets.PUBLISH_KEY }}
8989 run : |
90- ./gradlew publishSnapshot
90+ ./gradlew publishToSonatype
9191 ./gradlew --stop
9292
9393 - name : archive test results
Original file line number Diff line number Diff line change 3737 SIGN_KEY : ${{ secrets.SIGN_KEY }}
3838 SIGN_PWD : ${{ secrets.SIGN_PWD }}
3939 run : |
40- ./gradlew publishRelease
40+ ./gradlew publishToSonatype closeSonatypeStagingRepository
4141 ./gradlew --stop
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ plugins {
1111 id ' org.jetbrains.kotlin.jvm' version ' 1.5.0'
1212 id ' org.unbroken-dome.test-sets' version ' 4.0.0'
1313 id " com.github.ben-manes.versions" version " 0.38.0"
14+ id ' io.github.gradle-nexus.publish-plugin' version ' 1.1.0'
1415}
1516
1617group projectGroupId
@@ -160,6 +161,15 @@ sonarqube {
160161 }
161162}
162163
164+ nexusPublishing {
165+ repositories {
166+ sonatype() {
167+ username = publishUser
168+ password = publishKey
169+ }
170+ }
171+ }
172+
163173apply plugin : VersionPlugin
164174apply from : " ${ rootProject.rootDir} /gradle/publishing.gradle"
165175apply from : " ${ rootProject.rootDir} /gradle/publishing.tasks.gradle.kts"
You can’t perform that action at this time.
0 commit comments