Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): Migrate to Develocity build cache connector #834

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(build): Migrate to Develocity build cache connector
To simplify cache management with  the [Develocity cache connector](https://docs.gradle.com/enterprise/gradle-plugin/#using_the_develocity_connector)
  • Loading branch information
puneetbehl committed Mar 7, 2024
commit 36848eb79d21ad55d05eda56549e15382b5796cb
14 changes: 6 additions & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,17 @@ gradleEnterprise {
taskInputFiles = true
}
}

}

buildCache {
local { enabled = System.getenv('CI') != 'true' }
remote(HttpBuildCache) {
push = System.getenv('CI') == 'true'
remote(gradleEnterprise.buildCache) {
def isAuthenticated = System.getenv('GRADLE_ENTERPRISE_ACCESS_KEY')
push = System.getenv('CI') == 'true' && isAuthenticated
enabled = true
url = 'https://ge.grails.org/cache/'
credentials {
username = System.getenv('GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER')
password = System.getenv('GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY')
}
}}
}
}


// Core
Expand Down