plugins { id("java") id("war") id("org.springframework.boot") version "3.3.7" id("io.spring.dependency-management") version "1.1.7" } java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } dependencies { implementation("org.springframework.boot:spring-boot-starter-web") providedRuntime("org.springframework.boot:spring-boot-starter-tomcat") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.junit.jupiter:junit-jupiter-api") testImplementation("org.junit.jupiter:junit-jupiter") testRuntimeOnly("org.junit.platform:junit-platform-launcher") runtimeOnly("com.h2database:h2") } tasks.test { useJUnitPlatform() }