diff --git a/.github/workflows/pull-request-build.yaml b/.github/workflows/pull-request-build.yaml index 58550ed3a7..6b950f0e4d 100644 --- a/.github/workflows/pull-request-build.yaml +++ b/.github/workflows/pull-request-build.yaml @@ -22,8 +22,12 @@ jobs: java-version: '8' distribution: 'temurin' cache: maven + - name: Setup Develocity + uses: gradle/develocity-actions/setup-maven@974e8dbcbda40db6828fc35f349c80a7c0e71529 # v2.1 - name: Build with Apache Maven - run: mvn -U clean install -Djava.awt.headless=true -fae -B + run: mvn -U clean install -Djava.awt.headless=true -fae -B --no-transfer-progress + env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DIRECTORY_DEVELOCITY_ACCESS_KEY }} env: MAVEN_OPTS: "-Xmx1024M" build-java-17: @@ -40,5 +44,9 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven + - name: Setup Develocity + uses: gradle/develocity-actions/setup-maven@974e8dbcbda40db6828fc35f349c80a7c0e71529 # v2.1 - name: Build with Apache Maven - run: mvn -U clean install -Djava.awt.headless=true -fae -B + run: mvn -U clean install -Djava.awt.headless=true -fae -B --no-transfer-progress + env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DIRECTORY_DEVELOCITY_ACCESS_KEY }} diff --git a/.gitignore b/.gitignore index af9739083e..196dc3081f 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ out/ META-INF/ dependency-reduced-pom.xml sbom.json +.mvn/.develocity/develocity-workspace-id diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml new file mode 100644 index 0000000000..771f07a4ae --- /dev/null +++ b/.mvn/develocity.xml @@ -0,0 +1,47 @@ + + + + directory-server + + https://develocity.apache.org + + + #{isFalse(env['GITHUB_ACTIONS'])} + + authenticated + + + #{{'0.0.0.0'}} + + + + + #{isFalse(env['GITHUB_ACTIONS'])} + + + true + #{isTrue(env['GITHUB_ACTIONS']) and isTrue(env['DEVELOCITY_ACCESS_KEY'])} + + + diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000000..b0056b00d3 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,34 @@ + + + + + com.gradle + develocity-maven-extension + 2.3.1 + + + com.gradle + common-custom-user-data-maven-extension + 2.1.0 + +