Skip to content

Commit 464042b

Browse files
committed
Fix invalid 1.21 module build.gradle.kts
1 parent 0c3208a commit 464042b

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

spigot1_21/build.gradle.kts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
plugins {
24-
kotlin("jvm") version "2.0.0"
24+
`java-library`
2525
}
2626

2727
repositories {
@@ -37,15 +37,9 @@ repositories {
3737
}
3838

3939
dependencies {
40-
testImplementation(kotlin("test"))
4140
compileOnly("com.wolfyscript.wolfyutils.spigot:wolfyutils-spigot:4.17-beta.2-SNAPSHOT")
4241
compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
4342
compileOnly(project(":spigot"))
4443
}
4544

46-
tasks.test {
47-
useJUnitPlatform()
48-
}
49-
kotlin {
50-
jvmToolchain(21)
51-
}
45+
java.sourceCompatibility = JavaVersion.VERSION_21

0 commit comments

Comments
 (0)