Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed May 27, 2024
1 parent 8da72b6 commit c67b1b1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
java-version: 11

- name: GenerateGrammarSource
run: ./gradlew clean generateGrammarSource --parallel --daemon
run: ./gradlew clean generateGrammarSource --parallel --daemon --scan
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

Expand All @@ -69,12 +69,12 @@ jobs:

# https://docs.gradle.org/current/userguide/performance.html
- name: Build
run: ./gradlew clean build dist jacocoTestReport -x spotlessJava -x generateGrammarSource --parallel --daemon
run: ./gradlew clean build dist jacocoTestReport -x spotlessJava -x generateGrammarSource --parallel --daemon --scan
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

- name: Install plugin
run: ./gradlew installPlugin
run: ./gradlew installPlugin --scan
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- name: Build
if: matrix.language == 'java'
run: ./gradlew clean assemble compileTestJava --parallel --daemon
run: ./gradlew clean assemble compileTestJava --parallel --daemon --scan
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ jobs:

- name: Check license compatibility
run: ./gradlew clean checkDeniedLicense
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
13 changes: 5 additions & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,29 @@
*/

plugins {
id 'com.gradle.enterprise' version '3.17.4'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.12.1'
id 'com.gradle.develocity' version '3.17.4'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.1'
}

def isCiServer = System.getenv().containsKey("CI")

gradleEnterprise {
develocity {
server = "https://ge.apache.org"
buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCiServer
publishAlways()
publishIfAuthenticated()
publishing.onlyIf { false }
obfuscation {
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
}
}

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


rootProject.name = 'eventmesh'
String jdkVersion = "${jdk}"
include 'eventmesh-runtime'
Expand Down

0 comments on commit c67b1b1

Please sign in to comment.