diff --git a/examples/android-app/build.gradle b/examples/android-app/build.gradle index 7acf440..5688ac0 100644 --- a/examples/android-app/build.gradle +++ b/examples/android-app/build.gradle @@ -1,6 +1,6 @@ plugins { id 'com.android.application' version '7.4.0' - id 'org.jetbrains.kotlin.android' version '1.9.23' + id 'org.jetbrains.kotlin.android' version '1.7.22' id 'ru.vyarus.animalsniffer' } @@ -9,6 +9,15 @@ android { namespace 'com.example.namespace' def javaVersion = JavaVersion.VERSION_1_8 + defaultConfig { + minSdkVersion 21 + } + + lint { + checkReleaseBuilds false + abortOnError false + } + compileOptions { sourceCompatibility(javaVersion) targetCompatibility(javaVersion) diff --git a/examples/android-lib/build.gradle b/examples/android-lib/build.gradle index ef63413..51082a8 100644 --- a/examples/android-lib/build.gradle +++ b/examples/android-lib/build.gradle @@ -1,6 +1,6 @@ plugins { id 'com.android.library' version '7.4.0' - id 'org.jetbrains.kotlin.android' version '1.9.23' + id 'org.jetbrains.kotlin.android' version '1.7.22' id 'ru.vyarus.animalsniffer' } @@ -9,6 +9,15 @@ android { namespace 'com.example.namespace' def javaVersion = JavaVersion.VERSION_1_8 + defaultConfig { + minSdkVersion 21 + } + + lint { + checkReleaseBuilds false + abortOnError false + } + compileOptions { sourceCompatibility(javaVersion) targetCompatibility(javaVersion)