nu i xuinya
This commit is contained in:
47
build.gradle.kts
Normal file
47
build.gradle.kts
Normal file
@@ -0,0 +1,47 @@
|
||||
plugins {
|
||||
id("java-library")
|
||||
id("xyz.jpenilla.run-paper") version "3.0.2"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:26.1.2.build.+")
|
||||
compileOnly("net.flectone.pulse:core:1.12.0")
|
||||
compileOnly("net.luckperms:api:5.5")
|
||||
|
||||
testImplementation("io.papermc.paper:paper-api:26.1.2.build.+")
|
||||
testImplementation("net.flectone.pulse:core:1.12.0")
|
||||
testImplementation("net.luckperms:api:5.5")
|
||||
testImplementation(platform("org.junit:junit-bom:6.0.0"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(25)
|
||||
}
|
||||
|
||||
tasks {
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
runServer {
|
||||
// Configure the Minecraft version for our task.
|
||||
// This is the only required configuration besides applying the plugin.
|
||||
// Your plugin's jar (or shadowJar if present) will be used automatically.
|
||||
minecraftVersion("26.1.2")
|
||||
jvmArgs("-Xms2G", "-Xmx2G")
|
||||
}
|
||||
|
||||
processResources {
|
||||
val props = mapOf("version" to version, "description" to project.description)
|
||||
filesMatching("plugin.yml") {
|
||||
expand(props)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user