Skip to content

Commit 182ad7f

Browse files
committed
use metrics class instead of shading, bump skript version, fix debug verbosity npe
1 parent 595e17f commit 182ad7f

File tree

4 files changed

+912
-14
lines changed

4 files changed

+912
-14
lines changed

build.gradle

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
21
import org.apache.tools.ant.filters.ReplaceTokens
32

4-
53
plugins {
6-
id 'com.github.johnrengelman.shadow' version '8.1.1'
74
id 'java'
85
}
96

@@ -26,8 +23,7 @@ repositories {
2623

2724
dependencies {
2825
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
29-
compileOnly("com.github.SkriptLang:Skript:2.10.0-pre1")
30-
shadow "org.bstats:bstats-bukkit:3.0.2"
26+
compileOnly("com.github.SkriptLang:Skript:2.10.2")
3127
implementation "org.joml:joml:${jomlVersion}"
3228
}
3329

@@ -45,16 +41,12 @@ javadoc {
4541
options.encoding = 'UTF-8'
4642
}
4743

48-
task shadowJar(overwrite: true, type: ShadowJar) {
49-
archiveFileName = 'skript-particle.jar'
50-
}
51-
5244
java {
5345
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
5446
}
5547

56-
task copyJar(type: Copy) {
57-
dependsOn shadowJar
48+
tasks.register('copyJar', Copy) {
49+
dependsOn jar
5850
from "build/libs/skript-particle.jar"
5951
into "e:/PaperServer/plugins"
6052
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = 1.3.2
1+
version = 1.3.3

0 commit comments

Comments
 (0)