Upgrade to Gradle Enterprise 3.2

Also use the "io.spring.gradle-enterprise-conventions" plugin for
configuring Gradle Enterprise Cache support.
This commit is contained in:
Brian Clozel 2020-04-29 10:51:17 +02:00
parent f0564b746a
commit a20e561897
3 changed files with 2 additions and 22 deletions

View File

@ -1 +0,0 @@
apply from: "../gradle/build-cache-settings.gradle"

View File

@ -1,18 +0,0 @@
buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = true
url = 'https://ge.spring.io/cache/'
def cacheUsername = System.getenv('GRADLE_ENTERPRISE_CACHE_USERNAME')
def cachePassword = System.getenv('GRADLE_ENTERPRISE_CACHE_PASSWORD')
if (cacheUsername && cachePassword) {
push = true
credentials {
username = cacheUsername
password = cachePassword
}
}
}
}

View File

@ -6,11 +6,10 @@ pluginManagement {
}
plugins {
id("com.gradle.enterprise").version("3.1.1")
id "com.gradle.enterprise" version "3.2"
id "io.spring.gradle-enterprise-conventions" version "0.0.2"
}
apply from: "$rootDir/gradle/build-cache-settings.gradle"
include "spring-aop"
include "spring-aspects"
include "spring-beans"