Skip to content

Commit 91f75cb

Browse files
committed
Upgrade to gradle6
Resolves #625
1 parent 17d271d commit 91f75cb

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ plugins {
33
id 'com.github.hierynomus.license' version "$licenseVersion"
44
id 'com.github.kt3k.coveralls' version "$coverallsVersion"
55
id 'com.github.spotbugs' version "$spotbugsVersion"
6-
id 'com.gradle.build-scan' version "$scanVersion"
76
id 'net.researchgate.release' version "$releasesVersion"
87
id 'org.owasp.dependencycheck' version "$owaspVersion"
98
id 'org.sonarqube' version "$sonarVersion"
@@ -371,6 +370,10 @@ subprojects { subproj ->
371370
sign publishing.publications
372371
}
373372

373+
tasks.withType(Sign) {
374+
onlyIf { !version.endsWith("SNAPSHOT") }
375+
}
376+
374377
processResources {
375378
outputs.upToDateWhen { false }
376379
filesMatching(['**/features.xml', '**/banner.txt']) {
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-5.6.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

platform/bom/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ publishing {
5252
}
5353
}
5454

55+
tasks.withType(GenerateModuleMetadata) {
56+
enabled = false
57+
}
58+
5559
java {
5660
// because this isn't built as a JPMS module
5761
if (project.hasProperty("jpms") && JavaVersion.current().isJava11Compatible()) {

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
plugins {
2+
id "com.gradle.enterprise" version "$scanVersion"
3+
}
4+
15
rootProject.name = 'trellis'
26

37
include ':trellis-api'

0 commit comments

Comments
 (0)