Slackbot
02/02/2024, 4:04 AMChris Lee
02/02/2024, 4:10 AMChris Lee
02/02/2024, 4:11 AMMike Wacker
02/02/2024, 4:29 AMplugins {
java
id("org.springframework.boot") version "3.2.2"
}
group = "com.example"
version = "0.0.1-SNAPSHOT"
java {
toolchain {
version = JavaVersion.VERSION_21
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web:3.2.2")
testImplementation("org.springframework.boot:spring-boot-starter-test:3.2.2")
}
tasks.withType<Test> {
useJUnitPlatform()
}
Philip W
02/02/2024, 7:09 AMimplementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
for each configuration to use the BOM and the dependencies without a version.Vampire
02/03/2024, 3:56 AMVampire
02/03/2024, 3:58 AMgradle.properties
, as well as the version.