import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { id 'org.jetbrains.kotlin.jvm' version '2.3.21' id 'maven-publish' id 'java' } repositories { mavenLocal() mavenCentral() } group = 'dshackle' java { sourceCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21 } compileKotlin { compilerOptions.jvmTarget.set(JvmTarget.JVM_21) } compileTestKotlin { compilerOptions.jvmTarget.set(JvmTarget.JVM_21) } dependencies { implementation 'org.yaml:snakeyaml:2.6' testImplementation 'org.junit.jupiter:junit-jupiter:6.0.3' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } test { useJUnitPlatform() } version '1.0.0' publishing { publications { mavenJava(MavenPublication) { from components.java } } repositories { mavenLocal() } }