Skip to content

Commit

Permalink
fix: add android.compileOptions.compatibility, upgrade kotlin version
Browse files Browse the repository at this point in the history
* Upgrade kotlin version.
* Add android.compileOptions.compatibilities.
  • Loading branch information
ced1check authored May 14, 2024
1 parent 9efe923 commit 58fea13
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion image_editor_common/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ group 'com.fluttercandies.image_editor'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.8.0'
ext.kotlin_version = '1.8.10'
repositories {
google()
mavenCentral()
Expand Down Expand Up @@ -31,6 +31,15 @@ android {
main.java.srcDirs += 'src/main/kotlin'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

defaultConfig {
minSdkVersion 16
}
Expand Down

0 comments on commit 58fea13

Please sign in to comment.