plugins { `java-library` } group = "dev.projectcapture" version = "0.1.0-SNAPSHOT" java { toolchain { languageVersion = JavaLanguageVersion.of(25) } withSourcesJar() } repositories { mavenCentral() } dependencies { testImplementation(platform("org.junit:junit-bom:5.11.4")) testImplementation("org.junit.jupiter:junit-jupiter") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.test { useJUnitPlatform() } tasks.withType().configureEach { options.encoding = "UTF-8" options.release = 25 options.compilerArgs.addAll(listOf("-Xlint:all", "-Werror")) }