meow :3
This commit is contained in:
parent
739abce169
commit
044a0d674a
11 changed files with 100 additions and 13 deletions
|
@ -3,7 +3,6 @@ version = "0.1.0"
|
|||
|
||||
plugins {
|
||||
java
|
||||
kotlin("jvm") version "2.1.10"
|
||||
id("com.github.johnrengelman.shadow") version "7.1.2"
|
||||
id("de.eldoria.plugin-yml.paper") version "0.7.1"
|
||||
}
|
||||
|
@ -22,13 +21,18 @@ paper {
|
|||
apiVersion = "1.21"
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
val isDebug = providers.gradleProperty("isDebug")
|
||||
if (isDebug.isPresent()) {
|
||||
destinationDirectory.set(file(isDebug))
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
|
||||
library("com.google.code.gson", "gson", "2.10.1") // All platform plugins
|
||||
shadow("org.jetbrains.kotlin:kotlin-stdlib:2.1.10")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue