From de062130fee811d1203c3f689bf3239c8858adb8 Mon Sep 17 00:00:00 2001 From: David Bertet Date: Fri, 11 Aug 2023 18:16:36 +0200 Subject: [PATCH] Fix linting error - java.lang.Iterable#forEach requires minSdkVersion 24 - defaultConfig > targetSdkVersion 30 should be overridden by parent app, disable the error as it is Play Store specific --- android/build.gradle | 3 ++- example/android/build.gradle | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 940c5a473..de558904a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,8 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 31 defaultConfig { - minSdkVersion 23 + minSdkVersion 24 + // noinspection ExpiredTargetSdkVersion targetSdkVersion 30 versionCode 1 versionName "1.0" diff --git a/example/android/build.gradle b/example/android/build.gradle index 228a92ac7..84f3b0a97 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { buildToolsVersion = "33.0.0" - minSdkVersion = 23 + minSdkVersion = 24 compileSdkVersion = 33 targetSdkVersion = 33 kotlin_version = '1.8.0'