From 958dce647c1d500c1e3affe18d5ced085603cb16 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Tue, 1 Feb 2022 10:26:59 +0100 Subject: [PATCH 1/2] Bump AGP to 7.1.0 --- CHANGELOG.md | 1 + buildSrc/src/main/java/Config.kt | 2 +- sentry-android-core/build.gradle.kts | 6 +++--- sentry-android-fragment/build.gradle.kts | 6 +++--- sentry-android-ndk/build.gradle.kts | 6 +++--- sentry-android-okhttp/build.gradle.kts | 6 +++--- sentry-android-timber/build.gradle.kts | 6 +++--- 7 files changed, 17 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3231165e8..0623cc0f9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased * Fix: NPE while adding "response_body_size" breadcrumb, when response body is null (#1884) +* Bump: AGP to 7.1.0 (#) ## 5.6.0 diff --git a/buildSrc/src/main/java/Config.kt b/buildSrc/src/main/java/Config.kt index 27532842d9..6458d842c5 100644 --- a/buildSrc/src/main/java/Config.kt +++ b/buildSrc/src/main/java/Config.kt @@ -9,7 +9,7 @@ object Config { val springKotlinCompatibleLanguageVersion = "1.3" object BuildPlugins { - val androidGradle = "com.android.tools.build:gradle:7.0.4" + val androidGradle = "com.android.tools.build:gradle:7.1.0" val kotlinGradlePlugin = "gradle-plugin" val buildConfig = "com.github.gmazzo.buildconfig" val buildConfigVersion = "3.0.3" diff --git a/sentry-android-core/build.gradle.kts b/sentry-android-core/build.gradle.kts index c1d266ad60..c92c80743a 100644 --- a/sentry-android-core/build.gradle.kts +++ b/sentry-android-core/build.gradle.kts @@ -44,11 +44,11 @@ android { } lint { - isWarningsAsErrors = true - isCheckDependencies = true + warningsAsErrors = true + checkDependencies = true // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks. - isCheckReleaseBuilds = false + checkReleaseBuilds = false } // needed because of Kotlin 1.4.x diff --git a/sentry-android-fragment/build.gradle.kts b/sentry-android-fragment/build.gradle.kts index 8ecd21bfef..a0bab5910e 100644 --- a/sentry-android-fragment/build.gradle.kts +++ b/sentry-android-fragment/build.gradle.kts @@ -40,11 +40,11 @@ android { } lint { - isWarningsAsErrors = true - isCheckDependencies = true + warningsAsErrors = true + checkDependencies = true // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks. - isCheckReleaseBuilds = false + checkReleaseBuilds = false } variantFilter { diff --git a/sentry-android-ndk/build.gradle.kts b/sentry-android-ndk/build.gradle.kts index 54353ed844..84a7b0e568 100644 --- a/sentry-android-ndk/build.gradle.kts +++ b/sentry-android-ndk/build.gradle.kts @@ -70,11 +70,11 @@ android { } lint { - isWarningsAsErrors = true - isCheckDependencies = true + warningsAsErrors = true + checkDependencies = true // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks. - isCheckReleaseBuilds = false + checkReleaseBuilds = false } nativeBundleExport { diff --git a/sentry-android-okhttp/build.gradle.kts b/sentry-android-okhttp/build.gradle.kts index 971a9174c2..a06a1fe846 100644 --- a/sentry-android-okhttp/build.gradle.kts +++ b/sentry-android-okhttp/build.gradle.kts @@ -41,11 +41,11 @@ android { } lint { - isWarningsAsErrors = true - isCheckDependencies = true + warningsAsErrors = true + checkDependencies = true // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks. - isCheckReleaseBuilds = false + checkReleaseBuilds = false } variantFilter { diff --git a/sentry-android-timber/build.gradle.kts b/sentry-android-timber/build.gradle.kts index 9c5fae7fa0..f8c94ce447 100644 --- a/sentry-android-timber/build.gradle.kts +++ b/sentry-android-timber/build.gradle.kts @@ -45,11 +45,11 @@ android { } lint { - isWarningsAsErrors = true - isCheckDependencies = true + warningsAsErrors = true + checkDependencies = true // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks. - isCheckReleaseBuilds = false + checkReleaseBuilds = false } variantFilter { From 2ab538320579028d1735ecb23946869b3f312061 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Tue, 1 Feb 2022 10:27:25 +0100 Subject: [PATCH 2/2] pr id --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0623cc0f9b..f06afdf3ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## Unreleased * Fix: NPE while adding "response_body_size" breadcrumb, when response body is null (#1884) -* Bump: AGP to 7.1.0 (#) +* Bump: AGP to 7.1.0 (#1892) ## 5.6.0