From 5071e6ebc5072b7ef645e502155c943a9382b599 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 14 Sep 2022 14:23:12 +0400 Subject: [PATCH] jdk-17 --- build.gradle | 17 +++++++++-------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 44f4bf0..02a13b5 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { mavenCentral() } dependencies { - classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.5.RELEASE") + classpath("org.springframework.boot:spring-boot-gradle-plugin:2.6.4") } } @@ -15,20 +15,21 @@ apply plugin: 'io.spring.dependency-management' bootJar { baseName = 'gs-serving-web-content' - version = '0.1.0' + version = '0.1.0' } repositories { mavenCentral() } -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = 17 +targetCompatibility = 17 dependencies { - compile("org.springframework.boot:spring-boot-starter-web") - compile("org.springframework.boot:spring-boot-starter-thymeleaf") - compile("org.springframework.boot:spring-boot-devtools") - testCompile("junit:junit") + implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web' + implementation group: 'org.springframework.boot', name: 'spring-boot-starter-jetty' + implementation group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf' + implementation group: 'org.springframework.boot', name: 'spring-boot-devtools' + implementation group: 'junit', name: 'junit' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c8248af..c329b63 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip