From 51800d91b24cf12661cabd44a9d909ce199e0fcc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 May 2021 22:40:21 +0000 Subject: [PATCH] Bump gradle from 4.1.3 to 4.2.1 (#1339) --- .github/workflows/test.yml | 4 ++-- app/build.gradle | 1 - build.gradle | 2 +- settings.gradle | 7 ------- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d359360a..ee16041f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,8 +27,8 @@ jobs: key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }} - name: Unit tests run: | - ./gradlew --build-cache -Pcoverage testFdroidDebugUnitTest --stacktrace - ./gradlew --build-cache -Pcoverage jacocoTestReport --stacktrace + ./gradlew testFdroidDebugUnitTest --stacktrace + ./gradlew jacocoTestReport --stacktrace - uses: codecov/codecov-action@v1 with: flags: unit diff --git a/app/build.gradle b/app/build.gradle index 6ec0a618..60626d76 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -68,7 +68,6 @@ android { resValue "string", "app_name", "Wulkanowy DEV " + defaultConfig.versionCode applicationIdSuffix ".dev" versionNameSuffix "-dev" - testCoverageEnabled = project.hasProperty('coverage') ext.enableCrashlytics = project.hasProperty("enableFirebase") } } diff --git a/build.gradle b/build.gradle index 468a6d4b..8481d0c9 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ buildscript { } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath 'com.android.tools.build:gradle:4.1.3' + classpath 'com.android.tools.build:gradle:4.2.1' classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version" classpath 'com.google.gms:google-services:4.3.8' classpath 'com.huawei.agconnect:agcp:1.5.2.300' diff --git a/settings.gradle b/settings.gradle index 058beb21..e7b4def4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,8 +1 @@ include ':app' - -buildCache { - local { - directory = new File(rootDir, '.build-cache') - removeUnusedEntriesAfterDays = 30 - } -}