Skip to content

Commit

Permalink
chore(build): update to gradle develocity (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet Behl committed May 2, 2024
1 parent cc112af commit 51a3dca
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
gradleEnterprise {
server = 'https://ge.grails.org'
buildScan {
publishAlways()
publishAlwaysIf(System.getenv('CI') == 'true')
publishIfAuthenticated()
uploadInBackground = System.getenv("CI") == null
capture {
Expand All @@ -15,4 +15,14 @@ gradleEnterprise {
}
}

rootProject.name = "database-migration"
buildCache {
local { enabled = System.getenv('CI') != 'true' }
remote(gradleEnterprise.buildCache) {
def isAuthenticated = System.getenv('GRADLE_ENTERPRISE_ACCESS_KEY')
push = System.getenv('CI') == 'true' && isAuthenticated
enabled = true
}
}


rootProject.name = "database-migration"

0 comments on commit 51a3dca

Please sign in to comment.