Skip to content

Commit

Permalink
Merge pull request #12168 from grails/gradleEnterpriseSetup
Browse files Browse the repository at this point in the history
Configure Gradle Enterprise
  • Loading branch information
puneetbehl authored Nov 5, 2021
2 parents 42d6aaf + 048295f commit 844fc95
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
- name: Run Assemble
if: success() && github.event_name == 'push' && matrix.java == '8'
run: ./gradlew assemble
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- name: Publish to repo.grails.org
if: success() && github.event_name == 'push' && matrix.java == '8'
env:
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ buildscript {
}
}


import static groovyx.net.http.ContentType.*

apply plugin: 'idea'
Expand Down
20 changes: 19 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
plugins {
id "com.gradle.enterprise" version "3.7.1"
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.4.2'
}

gradleEnterprise {
server = 'https://ge.grails.org'
buildScan {
publishAlways()
publishIfAuthenticated()
uploadInBackground = System.getenv("CI") == null
capture {
taskInputFiles = true
}
}

}

rootProject.name = "grails.core.ROOT"

include (
Expand Down Expand Up @@ -46,4 +64,4 @@ include (

// Gradle Plugin
'grails-gradle-model'
)
)

0 comments on commit 844fc95

Please sign in to comment.