Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit 0014788

Browse files
committed
Update Kotlin, Gradle and Spring Boot versions
1 parent b856fbf commit 0014788

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
buildscript {
2-
ext.kotlin_version = '1.1.3' // Required for Kotlin integration
3-
ext.spring_boot_version = '1.5.4.RELEASE'
2+
ext.kotlin_version = '1.3.10' // Required for Kotlin integration
3+
ext.spring_boot_version = '2.1.0.RELEASE'
44
repositories {
55
jcenter()
66
}
77
dependencies {
88
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // Required for Kotlin integration
9-
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version" // See https://kotlinlang.org/docs/reference/compiler-plugins.html#kotlin-spring-compiler-plugin
9+
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version" // See https://kotlinlang.org/docs/reference/compiler-plugins.html#spring-support
1010
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
1111
}
1212
}
1313

1414
apply plugin: 'kotlin' // Required for Kotlin integration
15-
apply plugin: "kotlin-spring" // See https://kotlinlang.org/docs/reference/compiler-plugins.html#kotlin-spring-compiler-plugin
15+
apply plugin: "kotlin-spring" // https://kotlinlang.org/docs/reference/compiler-plugins.html#spring-support
1616
apply plugin: 'org.springframework.boot'
17+
apply plugin: 'io.spring.dependency-management'
1718

1819
jar {
1920
baseName = 'gs-rest-service'
@@ -26,6 +27,6 @@ repositories {
2627

2728
dependencies {
2829
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" // Required for Kotlin integration
29-
compile 'org.springframework.boot:spring-boot-starter-web'
30+
compile "org.springframework.boot:spring-boot-starter-web"
3031
testCompile('org.springframework.boot:spring-boot-starter-test')
3132
}

tutorials/spring-boot-restful/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-bin.zip

0 commit comments

Comments
 (0)