File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1414 * under the License.
1515 */
1616
17+ import org.springframework.boot.gradle.plugin.SpringBootPlugin
18+
1719// ./gradlew clean && ./gradlew uploadArchives -Prelease
1820
1921buildscript {
20- ext. kotlin_version = ' 1.3.50'
22+ ext {
23+ kotlin_version = ' 1.3.50'
24+ spring_boot_version = ' 2.2.1.RELEASE'
25+ }
2126
2227 repositories {
2328 mavenCentral()
@@ -32,7 +37,7 @@ buildscript {
3237 classpath ' io.franzbecker:gradle-lombok:3.1.0'
3338 classpath ' io.spring.gradle:dependency-management-plugin:1.0.8.RELEASE'
3439 classpath ' io.spring.gradle:propdeps-plugin:0.0.10.RELEASE'
35- classpath ' org.springframework.boot:spring-boot-gradle-plugin:2.2.1.RELEASE '
40+ classpath " org.springframework.boot:spring-boot-gradle-plugin:$s pring_boot_version "
3641 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
3742 }
3843}
@@ -94,7 +99,7 @@ subprojects {
9499
95100 dependencyManagement {
96101 imports {
97- mavenBom ' org.springframework.boot:spring-boot-dependencies:2.2.0.RELEASE '
102+ mavenBom SpringBootPlugin . BOM_COORDINATES
98103 }
99104
100105 dependencies {
@@ -209,7 +214,7 @@ subprojects {
209214 options. compilerArgs << ' -Xlint:all' << ' -Xlint:deprecation' << ' -Werror' << ' -Xlint:-processing' << ' -parameters'
210215 }
211216
212- project. plugins. withType(org.springframework.boot.gradle.plugin. SpringBootPlugin ) {
217+ project. plugins. withType(SpringBootPlugin ) {
213218 bootRun {
214219 systemProperties System . properties
215220 }
You can’t perform that action at this time.
0 commit comments