Skip to content

Commit

Permalink
Fix invalid 1.21 module build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfyScript committed Aug 24, 2024
1 parent 0c3208a commit 464042b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions spigot1_21/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

plugins {
kotlin("jvm") version "2.0.0"
`java-library`
}

repositories {
Expand All @@ -37,15 +37,9 @@ repositories {
}

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

tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
java.sourceCompatibility = JavaVersion.VERSION_21

0 comments on commit 464042b

Please sign in to comment.