Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
java-version: [ 8.0.232 ]
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
steps:
- name: Cache Gradle packages
uses: actions/cache@v2
Expand All @@ -46,7 +46,7 @@ jobs:
distribution: 'zulu'

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v4

- name: Build with Gradle
run: ./gradlew build
15 changes: 7 additions & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@
* under the License.
*/
plugins {
id 'com.gradle.enterprise' version '3.13.1'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
id 'com.gradle.develocity' version '4.2.2'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.4.0'
}

def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
def isJenkins = System.getenv('JENKINS_URL') != null
def isCI = isGithubActions || isJenkins

gradleEnterprise {
server = "https://ge.apache.org"
develocity {
server = "https://develocity.apache.org"
projectId = "samza"
buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCI
publishAlways()
publishIfAuthenticated()
publishing.onlyIf { it.isAuthenticated() }
obfuscation {
// This obfuscates the IP addresses of the build machine in the build scan.
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
Expand All @@ -45,7 +44,7 @@ buildCache {
enabled = !isCI
}

remote(gradleEnterprise.buildCache) {
remote(develocity.buildCache) {
enabled = false
}
}
Expand Down