Skip to content

Commit

Permalink
fix examples execution
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Nov 19, 2024
1 parent 24e82aa commit e5d4593
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion examples/android-app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}

Expand All @@ -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)
Expand Down
11 changes: 10 additions & 1 deletion examples/android-lib/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}

Expand All @@ -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)
Expand Down

0 comments on commit e5d4593

Please sign in to comment.