From 71621f6ddebd064386935b707e76b79c98d402e3 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Tue, 23 Apr 2024 10:50:13 +0200 Subject: [PATCH] chore: Revert "temporarily disable dep caching" This reverts commit ce28005e103a3e56ccfcff594021edffbd12df24. --- .github/workflows/verify.yaml | 10 +++++----- build.gradle.kts | 7 ------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 8b1e82931..b70c40acb 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -19,7 +19,7 @@ jobs: - uses: eclipse-edc/.github/.github/actions/setup-build@main - name: Run Checkstyle - run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures --refresh-dependencies + run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures Javadoc: runs-on: ubuntu-latest @@ -28,7 +28,7 @@ jobs: - uses: eclipse-edc/.github/.github/actions/setup-build@main - name: Run Javadoc - run: ./gradlew javadoc --refresh-dependencies + run: ./gradlew javadoc Verify-Launcher: runs-on: ubuntu-latest @@ -37,7 +37,7 @@ jobs: - uses: eclipse-edc/.github/.github/actions/setup-build@main - name: 'Build launcher' - run: ./gradlew :launcher:shadowJar --refresh-dependencies + run: ./gradlew :launcher:shadowJar - name: 'Build Docker image' run: docker build -t identity-hub ./launcher @@ -76,7 +76,7 @@ jobs: - name: 'Unit and system tests' uses: eclipse-edc/.github/.github/actions/run-tests@main with: - command: ./gradlew test --refresh-dependencies + command: ./gradlew test timeout-minutes: 10 env: INTEGRATION_TEST: true @@ -100,7 +100,7 @@ jobs: - name: Component Tests uses: eclipse-edc/.github/.github/actions/run-tests@main with: - command: ./gradlew compileJava compileTestJava test -DincludeTags="ComponentTest,ApiTest,EndToEndTest" --refresh-dependencies + command: ./gradlew compileJava compileTestJava test -DincludeTags="ComponentTest,ApiTest,EndToEndTest" Upload-Coverage-Report-To-Codecov: needs: diff --git a/build.gradle.kts b/build.gradle.kts index 8a515caec..ed839cecf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,11 +59,4 @@ allprojects { configDirectory.set(rootProject.file("resources")) } - -} - -configurations.all { - // Check for updates every build - resolutionStrategy.cacheChangingModulesFor(0, "seconds") - resolutionStrategy.cacheDynamicVersionsFor(0, "seconds") }