File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106106 PUBLISH_USER : ${{ secrets.PUBLISH_USER }}
107107 PUBLISH_KEY : ${{ secrets.PUBLISH_KEY }}
108108 run : |
109- ./gradlew publishToMavenCentral -Psnapshot=true - -stacktrace
109+ ./gradlew publishToMavenCentral --stacktrace
110110
111111 sonar :
112112 needs : [test]
Original file line number Diff line number Diff line change @@ -22,13 +22,3 @@ publishingCentral {
2222 deploymentDir = layout.buildDirectory.dir(" deployment" )
2323 deploymentName = " parser"
2424}
25-
26- afterEvaluate {
27- if (hasProperty(" snapshot" )) {
28- val publish = tasks.findByName(" publishAllReleasesToMavenCentral" )
29- publish?.enabled = version.toString().endsWith(" SNAPSHOT" )
30- if (publish?.enabled == false ) {
31- logger.warn(" skipping publishing because version is not a snapshot." )
32- }
33- }
34- }
You can’t perform that action at this time.
0 commit comments