From 50e7d82dc61137616d31d6b90580eacd046654d2 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 16 Oct 2024 15:40:09 -0400 Subject: [PATCH] Add Develocity support to the project --- .github/workflows/build-and-deploy-snapshot.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ .mvn/extensions.xml | 8 ++++++++ pom.xml | 4 ++++ 4 files changed, 20 insertions(+) create mode 100644 .mvn/extensions.xml diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index ce1d9c7..c4b266a 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -7,6 +7,10 @@ permissions: actions: write concurrency: group: ${{ github.workflow }}-${{ github.ref }} + +env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + jobs: build-and-deploy-snapshot: if: ${{ github.repository == 'spring-projects/spring-retry' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fad3181..3d7d003 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: - v2.0.[0-9]+ concurrency: group: ${{ github.workflow }}-${{ github.ref }} + +env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + jobs: build-and-stage-release: if: ${{ github.repository == 'spring-projects/spring-retry' }} diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..a36ba05 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,8 @@ + + + + io.spring.develocity.conventions + develocity-conventions-maven-extension + 0.0.19 + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 81ec143..c852ca7 100644 --- a/pom.xml +++ b/pom.xml @@ -203,6 +203,10 @@ maven-surefire-plugin 3.3.0 + + com.gradle + develocity-maven-extension +