diff --git a/build.gradle b/build.gradle index 1796ce7..b707a15 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,10 @@ buildscript { ext { - springBootVersion = '1.2.1.RELEASE' + springBootVersion = '1.4.7.RELEASE' } repositories { mavenCentral() + maven { url 'https://repo.spring.io/libs-snapshot' } } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") @@ -12,7 +13,8 @@ buildscript { apply plugin: 'java' -apply plugin: 'spring-boot' +apply plugin: 'org.springframework.boot' +apply plugin: 'io.spring.dependency-management' jar { baseName = 'velocityPreview' @@ -21,6 +23,7 @@ jar { repositories { mavenCentral() + maven { url 'https://repo.spring.io/libs-snapshot' } } // In this section you declare the dependencies for your production and test code @@ -32,8 +35,9 @@ dependencies { compile 'org.webjars:bootswatch-paper:3.3.1+2' compile 'org.webjars:ace:01.08.2014' compile 'org.webjars:lodash:2.4.1-6' + compile 'javax.xml.bind:jaxb-api:2.3.0' } task wrapper(type: Wrapper) { - gradleVersion = '2.0' + gradleVersion = '4.7' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 85af430..521c950 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-2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip