Skip to content

Commit cf4fa66

Browse files
polysantiagoPablo Santiago
authored andcommitted
Upgraded to Spring IO Brussels SR-3, Gradle 4.0 and some dependencies. Also changed to 'java-library' Gradle pluginP
1 parent 4fd1ff9 commit cf4fa66

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

build.gradle

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
plugins {
2-
id 'java'
2+
id 'java-library'
33
id 'idea'
44
id 'jacoco'
5-
id "io.spring.dependency-management" version "1.0.2.RELEASE"
5+
id "io.spring.dependency-management" version "1.0.3.RELEASE"
66
id 'maven-publish'
77
id 'signing'
8-
id 'nebula.optional-base' version '3.0.3'
9-
id 'nebula.provided-base' version '3.0.3'
10-
id "io.codearte.nexus-staging" version "0.8.0"
8+
id 'nebula.optional-base' version '3.2.0'
9+
id "io.codearte.nexus-staging" version "0.9.0"
1110
}
1211

1312
ext {
@@ -44,29 +43,30 @@ repositories {
4443

4544
dependencyManagement {
4645
imports {
47-
mavenBom 'io.spring.platform:platform-bom:Brussels-SR2'
46+
mavenBom 'io.spring.platform:platform-bom:Brussels-SR3'
4847
}
4948
}
5049

5150
dependencies {
52-
compile("org.springframework.boot:spring-boot-autoconfigure")
53-
compile("org.springframework.boot:spring-boot-starter-logging")
51+
implementation("org.springframework.boot:spring-boot-autoconfigure")
52+
implementation("org.springframework.boot:spring-boot-starter-logging")
5453
compileOnly('org.springframework.boot:spring-boot-configuration-processor')
55-
compile("org.springframework:spring-webmvc")
56-
compile('org.springframework:spring-aop')
57-
compile('org.aspectj:aspectjweaver')
54+
implementation("org.springframework:spring-webmvc")
55+
implementation('org.springframework:spring-aop')
56+
implementation('org.aspectj:aspectjweaver')
5857

5958
compile 'org.springframework.retry:spring-retry', optional
6059

61-
provided 'org.projectlombok:lombok'
62-
compile 'org.apache.commons:commons-lang3:3.5'
63-
compile 'net.javacrumbs.future-converter:future-converter-spring-java8:1.1.0'
60+
compileOnly 'org.projectlombok:lombok'
61+
implementation 'org.apache.commons:commons-lang3:3.5'
62+
implementation 'net.javacrumbs.future-converter:future-converter-spring-java8:1.1.0'
6463

65-
testCompile("org.springframework.boot:spring-boot-starter-test")
66-
testCompile('org.springframework.boot:spring-boot-starter-hateoas')
67-
testCompile("com.fasterxml.jackson.datatype:jackson-datatype-jdk8")
68-
testCompile("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml")
69-
testCompile('org.assertj:assertj-core:3.6.2')
64+
testImplementation("org.springframework.boot:spring-boot-starter-test")
65+
testImplementation('org.springframework.boot:spring-boot-starter-hateoas')
66+
testImplementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8")
67+
testImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml")
68+
testImplementation('org.assertj:assertj-core:3.8.0')
69+
testCompileOnly('org.projectlombok:lombok')
7070
}
7171

7272
tasks.withType(Jar) {

gradle/wrapper/gradle-wrapper.jar

-77 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sat May 13 02:41:46 CEST 2017
1+
#Wed Jun 21 14:37:47 EEST 2017
22
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-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-bin.zip

gradlew

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
3333
# Use the maximum available, or set MAX_FD != -1 to use that value.
3434
MAX_FD="maximum"
3535

36-
warn ( ) {
36+
warn () {
3737
echo "$*"
3838
}
3939

40-
die ( ) {
40+
die () {
4141
echo
4242
echo "$*"
4343
echo
@@ -155,7 +155,7 @@ if $cygwin ; then
155155
fi
156156

157157
# Escape application args
158-
save ( ) {
158+
save () {
159159
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160160
echo " "
161161
}

0 commit comments

Comments
 (0)