File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 2222 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
2323 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
2424 run : |
25- ./gradlew xap-sdk:publish
25+ ./gradlew publishSnapshot
Original file line number Diff line number Diff line change @@ -9,19 +9,5 @@ gradle.taskGraph.whenReady { taskGraph ->
99}
1010
1111tasks. register(" publishSnapshot" ) {
12- def snapshotModules = rootProject. subprojects. findAll { project ->
13- project. version. toString(). contains(" -SNAPSHOT" ) && project. tasks. named(" publish" ) != null
14- }
15-
16- if (! snapshotModules. isEmpty()) {
17- dependsOn snapshotModules. collect { " :${ it.name} :publish" }
18- }
19-
20- doLast {
21- if (snapshotModules. isEmpty()) {
22- println " ❌ No snapshot modules to publish."
23- } else {
24- println " 📦 Successfully published snapshots for: ${ snapshotModules*.name} "
25- }
26- }
12+ dependsOn(" :xap-sdk:publish" )
2713}
You can’t perform that action at this time.
0 commit comments