diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fccc9caab04..fcdebaee5cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,7 @@ permissions: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} - GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} jobs: core: diff --git a/examples/settings.gradle b/examples/settings.gradle index 577a4298c7b..8aed2430fb5 100644 --- a/examples/settings.gradle +++ b/examples/settings.gradle @@ -43,14 +43,9 @@ buildCache { local { enabled = !isCI } - remote(HttpBuildCache) { - push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") + remote(develocity.buildCache) { + push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("DEVELOCITY_ACCESS_KEY") enabled = true - url = 'https://ge.testcontainers.org/cache/' - credentials { - username = 'ci' - password = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") - } } } diff --git a/settings.gradle b/settings.gradle index 69d0e489a9a..d60d222c079 100644 --- a/settings.gradle +++ b/settings.gradle @@ -40,14 +40,9 @@ buildCache { local { enabled = !isCI } - remote(HttpBuildCache) { - push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") + remote(develocity.buildCache) { + push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("DEVELOCITY_ACCESS_KEY") enabled = true - url = 'https://ge.testcontainers.org/cache/' - credentials { - username = 'ci' - password = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") - } } } diff --git a/smoke-test/settings.gradle b/smoke-test/settings.gradle index 8642e528279..e79fb0d5c94 100644 --- a/smoke-test/settings.gradle +++ b/smoke-test/settings.gradle @@ -27,14 +27,9 @@ buildCache { local { enabled = !isCI } - remote(HttpBuildCache) { - push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") + remote(develocity.buildCache) { + push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("DEVELOCITY_ACCESS_KEY") enabled = true - url = 'https://ge.testcontainers.org/cache/' - credentials { - username = 'ci' - password = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") - } } }