File tree Expand file tree Collapse file tree 3 files changed +10
-21
lines changed
Expand file tree Collapse file tree 3 files changed +10
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616 distribution : temurin
1717 cache : gradle
1818 java-version : 17
19- - name : Upload to Modrinth and Hangar
20- run : ./gradlew clean build modrinth publishAllPublicationsToHangar
19+ - name : Upload to Modrinth
20+ run : ./gradlew clean build modrinth
2121 env :
2222 MODRINTH_TOKEN : ${{ secrets.MODRINTH_TOKEN }}
2323 HANGAR_TOKEN : ${{ secrets.HANGAR_TOKEN }}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ configurations.all {
6262}
6363
6464group = " com.intellectualsites.fastasyncvoxelsniper"
65- version = " 3.1.1-SNAPSHOT "
65+ version = " 3.1.1"
6666
6767bukkit {
6868 name = " FastAsyncVoxelSniper"
@@ -100,6 +100,12 @@ tasks {
100100 opt.addBooleanOption(" html5" , true )
101101 opt.links(" https://jd.papermc.io/paper/1.20/" )
102102 opt.links(" https://intellectualsites.github.io/fastasyncworldedit-javadocs/worldedit-core/" )
103+ opt.noTimestamp()
104+ }
105+
106+ withType<AbstractArchiveTask >().configureEach {
107+ isPreserveFileTimestamps = false
108+ isReproducibleFileOrder = true
103109 }
104110
105111 shadowJar {
@@ -131,7 +137,7 @@ javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElement
131137}
132138
133139signing {
134- if (! version.toString().endsWith(" -SNAPSHOT" )) {
140+ if (! project.hasProperty( " skip.signing " ) && ! version.toString().endsWith(" -SNAPSHOT" )) {
135141 val signingKey: String? by project
136142 val signingPassword: String? by project
137143 useInMemoryPgpKeys(signingKey, signingPassword)
You can’t perform that action at this time.
0 commit comments