File tree Expand file tree Collapse file tree 4 files changed +206
-152
lines changed
java/com/github/yufiriamazenta/deathmsg/listener Expand file tree Collapse file tree 4 files changed +206
-152
lines changed Original file line number Diff line number Diff line change 3131 - name : Build with Gradle
3232 uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
3333 with :
34- arguments : shadowJar
34+ arguments : clean build
3535 - uses : actions/upload-artifact@v3
3636 with :
3737 name : artifacts
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ repositories {
2222
2323dependencies {
2424 compileOnly(" org.spigotmc:spigot:1.19-R0.1-SNAPSHOT" )
25- compileOnly(" dev.folia:folia -api:1.19.4-R0.1-SNAPSHOT" )
25+ compileOnly(" org.spigotmc:spigot -api:1.19.4-R0.1-SNAPSHOT" )
2626 compileOnly(" net.luckperms:api:5.4" )
2727 compileOnly(" me.clip:placeholderapi:2.11.1" )
2828 implementation(" com.github.YufiriaMazenta:CrypticLib:1.0.1" )
2929}
3030
3131group = " com.github.yufiriamazenta"
32- version = " 1.1.0 "
32+ version = " 1.1.1 "
3333description = " DeathMessage"
3434java.sourceCompatibility = JavaVersion .VERSION_17
3535java.sourceCompatibility = JavaVersion .VERSION_17
@@ -44,16 +44,19 @@ tasks {
4444 val props = HashMap <String , String >()
4545 val pluginVersion: String = version.toString() + " -" + SimpleDateFormat (" yyyyMMdd" ).format(System .currentTimeMillis())
4646 props[" version" ] = pluginVersion
47- " processResources" ( ProcessResources :: class ) {
47+ processResources {
4848 filesMatching(" plugin.yml" ) {
4949 expand(props)
5050 }
5151 }
5252 compileJava {
5353 options.encoding = " UTF-8"
5454 }
55+ build {
56+ dependsOn(shadowJar)
57+ }
5558 shadowJar {
5659 archiveFileName.set(" DeathMessage-$version .jar" )
57- relocate(" crypticlib" , " com.github.yufiriamazenta.crypticlib" )
60+ relocate(" crypticlib" , " com.github.yufiriamazenta.deathmsg. crypticlib" )
5861 }
5962}
You can’t perform that action at this time.
0 commit comments