11import org.apache.tools.ant.filters.ReplaceTokens
22
33plugins {
4- id ' org.jetbrains.kotlin.jvm' version ' 1.7 .0'
5- id ' com .github.johnrengelman .shadow' version ' 7 .1.2 ' apply false
4+ id ' org.jetbrains.kotlin.jvm' version ' 2.0 .0'
5+ id ' io .github.goooler .shadow' version ' 8 .1.7 ' apply false
66}
77
88allprojects {
99 apply plugin : ' org.jetbrains.kotlin.jvm'
1010
1111 archivesBaseName = ' VoteParty'
1212 group ' me.clip'
13- version ' 2.34-DEV-Parallel'
13+ version ' 2.35-DEV-Parallel'
14+
15+ java {
16+ toolchain. languageVersion. set(JavaLanguageVersion . of(21 ))
17+ }
18+
19+ kotlin {
20+ jvmToolchain(21 )
21+ }
1422
1523 repositories {
1624 mavenCentral()
@@ -27,25 +35,24 @@ allprojects {
2735 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8"
2836
2937 // spigot
30- compileOnly " org.spigotmc:spigot-api:1.19 -R0.1-SNAPSHOT"
38+ compileOnly " org.spigotmc:spigot-api:1.20.6 -R0.1-SNAPSHOT"
3139 }
3240
33- sourceCompatibility = JavaVersion . VERSION_1_8
34- targetCompatibility = JavaVersion . VERSION_1_8
41+ sourceCompatibility = 21
42+ targetCompatibility = 21
43+
3544
3645 compileJava {
37- options. compilerArgs + = [" -parameters" ]
38- options. fork = true
39- options. forkOptions. executable = ' javac'
46+
47+ options. release. set(21 )
4048 }
4149
4250 compileKotlin {
43- kotlinOptions. jvmTarget = JavaVersion . VERSION_1_8
44- kotlinOptions. javaParameters = true
51+
4552 }
4653}
4754
48- apply plugin : ' com .github.johnrengelman .shadow'
55+ apply plugin : ' io .github.goooler .shadow'
4956
5057shadowJar {
5158 minimize()
@@ -63,10 +70,10 @@ shadowJar {
6370dependencies {
6471
6572 // config
66- implementation " ch.jalu:configme:1.3.0 "
73+ implementation " ch.jalu:configme:1.4.1 "
6774
6875 // placeholderapi
69- compileOnly " me.clip:placeholderapi:2.11.1 "
76+ compileOnly " me.clip:placeholderapi:2.11.6 "
7077
7178 // NuVotifier hook
7279 compileOnly files(" libs/nuvotifier-2.7.3.jar" )
@@ -75,16 +82,16 @@ dependencies {
7582 implementation " co.aikar:acf-paper:0.5.1-SNAPSHOT"
7683
7784 // Support for materials across all versions
78- implementation ' com.github.cryptomorin:XSeries:9 .0.0'
85+ implementation ' com.github.cryptomorin:XSeries:10 .0.0'
7986
8087 // json stuff
8188 implementation ' net.kyori:adventure-platform-bukkit:4.1.1'
8289 implementation ' net.kyori:adventure-api:4.11.0'
8390 implementation ' net.kyori:adventure-text-minimessage:4.11.0'
91+ implementation project(' :version' )
8492
85- implementation project(" :version" )
86- implementation project(" :version_old" )
8793 implementation project(" :version_new" )
94+ implementation project(" :version_old" )
8895}
8996
9097processResources {
0 commit comments