Skip to content

Commit

Permalink
build(device_info_plus)!: Target Java 17 on Android (#2725)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuberen committed Mar 19, 2024
1 parent c66a67d commit aa826de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -30,12 +30,12 @@ android {
namespace 'dev.fluttercommunity.plus.device_info'

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = 17
}

defaultConfig {
Expand Down
Expand Up @@ -31,12 +31,12 @@ android {
namespace 'io.flutter.plugins.deviceinfoexample.example'

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = 17
}

sourceSets {
Expand Down

0 comments on commit aa826de

Please sign in to comment.