Skip to content

Commit 3058345

Browse files
committed
Upgrade to Gradle 6.2.2
* Improve `build.gradle`: - Upgrade some plugins - Remove unused (or mistaken) dependencies - Add transitive `exclude` into Spring Data dependencies - Add `inputs.dir(sourceDir)` for docs tasks in attempt to avoid their build because of `up-to-date`
1 parent e2b6383 commit 3058345

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
id 'io.spring.nohttp' version '0.0.4.RELEASE' apply false
1717
id 'org.ajoberstar.grgit' version '4.0.1'
1818
id "io.spring.dependency-management" version '1.0.9.RELEASE'
19-
id 'com.jfrog.artifactory' version '4.13.0' apply false
19+
id 'com.jfrog.artifactory' version '4.14.1' apply false
2020
id 'org.jetbrains.dokka' version '0.10.1'
2121
}
2222

@@ -113,7 +113,6 @@ allprojects {
113113
}
114114
if (version.endsWith('BUILD-SNAPSHOT')) {
115115
maven { url 'https://repo.spring.io/libs-snapshot' }
116-
maven { url "https://oss.jfrog.org/artifactory/libs-snapshot" } // RSocket
117116
}
118117
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
119118
// maven { url 'https://repo.spring.io/libs-staging-local' }
@@ -227,7 +226,6 @@ configure(javaProjects) { subproject ->
227226
}
228227
testImplementation 'org.junit.jupiter:junit-jupiter-api'
229228
testImplementation "com.willowtreeapps.assertk:assertk-jvm:$assertkVersion"
230-
testImplementation 'org.jetbrains.kotlin:kotlin-reflect'
231229
testImplementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
232230
testImplementation 'io.projectreactor:reactor-test'
233231
testImplementation "com.jayway.jsonpath:json-path:$jsonpathVersion"
@@ -406,7 +404,6 @@ project('spring-integration-core') {
406404
description = 'Spring Integration Core'
407405

408406
dependencies {
409-
api 'org.springframework:spring-core'
410407
api 'org.springframework:spring-aop'
411408
api 'org.springframework:spring-context'
412409
api 'org.springframework:spring-messaging'
@@ -421,7 +418,6 @@ project('spring-integration-core') {
421418
optionalApi "io.micrometer:micrometer-core:$micrometerVersion"
422419
optionalApi "io.github.resilience4j:resilience4j-ratelimiter:$resilience4jVersion"
423420
optionalApi "org.apache.avro:avro:$avroVersion"
424-
optionalApi 'org.jetbrains.kotlin:kotlin-reflect'
425421
optionalApi 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
426422

427423
testImplementation ("org.aspectj:aspectjweaver:$aspectjVersion")
@@ -477,7 +473,9 @@ project('spring-integration-gemfire') {
477473
description = 'Spring Integration GemFire Support'
478474
dependencies {
479475
api project(':spring-integration-core')
480-
api 'org.springframework.data:spring-data-geode'
476+
api ('org.springframework.data:spring-data-geode') {
477+
exclude group: 'org.springframework'
478+
}
481479
api "commons-io:commons-io:$commonsIoVersion"
482480

483481
testImplementation project(':spring-integration-stream')
@@ -550,7 +548,6 @@ project('spring-integration-jms') {
550548
providedImplementation "javax.jms:javax.jms-api:$jmsApiVersion"
551549

552550
testImplementation "org.apache.activemq:activemq-broker:$activeMqVersion"
553-
554551
testImplementation 'org.springframework:spring-oxm'
555552
}
556553
}
@@ -587,9 +584,11 @@ project('spring-integration-mail') {
587584
dependencies {
588585
api project(':spring-integration-core')
589586
api 'org.springframework:spring-context-support'
587+
590588
providedImplementation "javax.mail:javax.mail-api:$javaxMailVersion"
591589
providedImplementation "com.sun.mail:imap:$javaxMailVersion"
592590
providedImplementation "com.sun.mail:javax.mail:$javaxMailVersion"
591+
593592
optionalApi "javax.activation:javax.activation-api:$javaxActivationVersion"
594593
}
595594
}
@@ -677,7 +676,6 @@ project('spring-integration-sftp') {
677676
description = 'Spring Integration SFTP Support'
678677
dependencies {
679678
api project(':spring-integration-file')
680-
api project(':spring-integration-stream')
681679
api "com.jcraft:jsch:$jschVersion"
682680
api 'org.springframework:spring-context-support'
683681
optionalApi "javax.activation:javax.activation-api:$javaxActivationVersion"
@@ -910,6 +908,7 @@ task('makePDF', type: org.asciidoctor.gradle.AsciidoctorTask) {
910908
dependsOn checkAsciidocLinks
911909
backends 'pdf'
912910
sourceDir "$buildDir/asciidoc"
911+
inputs.dir(sourceDir)
913912
sources {
914913
include 'index-single.adoc'
915914
}
@@ -926,6 +925,7 @@ asciidoctor {
926925
dependsOn makePDF
927926
backends 'html5'
928927
sourceDir "$buildDir/asciidoc"
928+
inputs.dir(sourceDir)
929929
resources {
930930
from(sourceDir) {
931931
include 'images/*', 'css/**', 'js/**'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

32+
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
33+
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34+
3235
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
3336
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
3437

0 commit comments

Comments
 (0)