Skip to content

Commit

Permalink
upgrade gradle version to 4.4 and spring boot version to 1.5.9.RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamz-22 committed Dec 16, 2017
1 parent df61260 commit d560ea9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
19 changes: 3 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
buildscript {
ext {
springBootVersion = '1.4.0.M2'
springBootVersion = '1.5.9.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
apply plugin: 'spring-boot'

jar {
baseName = 'conditional'
Expand All @@ -25,8 +22,6 @@ targetCompatibility = 1.8

repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}


Expand All @@ -36,14 +31,6 @@ dependencies {
testCompile('org.springframework.boot:spring-boot-starter-test')
}


eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}

task wrapper(type: Wrapper) {
gradleVersion = '2.12'
gradleVersion = '4.4'
}
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Sat Dec 16 13:44:20 CET 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

0 comments on commit d560ea9

Please sign in to comment.