plugins { id 'java' id 'war' } group 'com.msksbr' version '1.0-SNAPSHOT' repositories { mavenCentral() } ext { junitVersion = '5.11.0' } sourceCompatibility = '17' targetCompatibility = '17' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } dependencies { compileOnly('jakarta.servlet:jakarta.servlet-api:6.1.0') testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}") } test { useJUnitPlatform() }