Files
fetmcplugin/build.gradle.kts
2025-10-14 13:24:20 +02:00

32 lines
721 B
Kotlin

plugins {
id("java")
kotlin("jvm")
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven {
name = "papermc"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
implementation(kotlin("stdlib-jdk8"))
implementation("org.xerial:sqlite-jdbc:3.50.3.0")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks.test {
useJUnitPlatform()
}