Commit 62358b14 authored by Eric Bruneton's avatar Eric Bruneton

Upgrade to Gradle 5.6.

parent 8594c9b9
image: gradle:5.3.1-jdk8-alpine
image: gradle:5.6-jdk8-alpine
variables:
# Set the location of the dependency cache to a local directory, so that it
# can be cached between GitLab Continous Integration Jobs.
GRADLE_USER_HOME: '.gradle'
GRADLE: 'gradle -Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=512m'
SONAR: 'https://sonarqube.ow2.org'
cache:
......@@ -14,7 +13,7 @@ cache:
build:
script:
- $GRADLE build
- $GRADLE test jacocoTestCoverageVerification
- $GRADLE uploadArchives
- '$GRADLE sonarqube -Dsonar.host.url=$SONAR'
- gradle build
- gradle test jacocoTestCoverageVerification
- gradle uploadArchives
- 'gradle sonarqube -Dsonar.host.url=$SONAR'
......@@ -178,16 +178,11 @@ subprojects {
checkstyle.maxErrors = 0
checkstyle.maxWarnings = 0
// Check the code with PMD. TODO remove toolVersion when default version uses
// ASM7 (default 6.8.0 uses ASM7_EXPERIMENTAL -> does not work with HEAD).
// Check the code with PMD.
apply plugin: 'pmd'
pmd.toolVersion = '6.14.0'
pmd.ruleSets = []
pmd.ruleSetFiles = files("${rootDir}/tools/pmd.xml")
pmd.consoleOutput = true
java.util.logging.Logger.getLogger('net.sourceforge.pmd.PMD').setFilter({
log -> !log.message.contains('This analysis could be faster')
})
dependencies {
requires.each { projectName -> compile project(projectName) }
......
......@@ -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-5.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment