Browse Source

Upgrade to Gradle Enterprise 3.2

Also use the "io.spring.gradle-enterprise-conventions" plugin for
configuring Gradle Enterprise Cache support.
pull/25006/head
Brian Clozel 5 years ago
parent
commit
a20e561897
  1. 1
      buildSrc/settings.gradle
  2. 18
      gradle/build-cache-settings.gradle
  3. 5
      settings.gradle

1
buildSrc/settings.gradle

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

18
gradle/build-cache-settings.gradle

@ -1,18 +0,0 @@ @@ -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
}
}
}
}

5
settings.gradle

@ -6,11 +6,10 @@ pluginManagement { @@ -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"

Loading…
Cancel
Save