diff --git a/build.gradle b/build.gradle index a7d52b8..6d1b5ca 100644 --- a/build.gradle +++ b/build.gradle @@ -2,30 +2,32 @@ repositories { mavenCentral() } - dependencies { - classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.0.RELEASE") - } } plugins { id 'java' - id 'org.springframework.boot' version '2.1.0.RELEASE' + id 'org.springframework.boot' version '3.1.0' id 'io.spring.dependency-management' version '1.0.8.RELEASE' } group = 'com.sample' version = '0.0.1-SNAPSHOT' +java { + toolchain { + languageVersion = JavaLanguageVersion.of(17) + } +} + repositories { mavenCentral() } dependencies { - implementation 'org.springframework.boot:spring-boot-starter-web:2.1.0.RELEASE' - implementation 'org.springframework.boot:spring-boot-starter:2.1.0.RELEASE' + implementation 'org.springframework.boot:spring-boot-starter-web:3.1.0' - compileOnly 'org.projectlombok:lombok:1.18.12' - annotationProcessor 'org.projectlombok:lombok:1.18.12' + compileOnly 'org.projectlombok:lombok:1.18.28' + annotationProcessor 'org.projectlombok:lombok:1.18.28' } jar {