Combat_f/build.gradle.kts

44 lines
990 B
Plaintext
Raw Normal View History

2023-03-27 15:48:17 +00:00
plugins {
2024-03-11 13:12:59 +00:00
kotlin("jvm") version "2.0.0-Beta4"
id("xyz.jpenilla.run-paper") version "2.2.3"
2024-01-14 09:50:01 +00:00
// id("io.papermc.paperweight.userdev") version "1.5.4"
2023-03-27 15:48:17 +00:00
}
2024-03-11 13:12:59 +00:00
group = "me.faiz"
version = "2.0.0"
2023-03-27 15:48:17 +00:00
repositories {
mavenCentral()
2024-01-14 09:50:01 +00:00
maven("https://repo.papermc.io/repository/maven-public/")
2023-03-27 15:48:17 +00:00
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
dependencies {
testImplementation(kotlin("test"))
2024-03-11 13:12:59 +00:00
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
implementation("io.github.monun:invfx-api:3.3.2")
2024-01-14 09:50:01 +00:00
// paperweight.paperDevBundle("1.19.2-R0.1-SNAPSHOT")
implementation("io.github.monun:kommand-api:3.1.7")
2023-03-27 15:48:17 +00:00
}
2024-03-11 13:12:59 +00:00
tasks {
runServer{
minecraftVersion("1.20.1")
downloadPlugins{
hangar("ViaVersion","4.9.3-SNAPSHOT+208")
hangar("ViaBackwards", "4.9.2-SNAPSHOT+126")
hangar("Multiverse-Core","4.3.12")
}
}
}
2023-03-27 15:48:17 +00:00
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}