Skip to content

Commit c59d915

Browse files
committed
perf: update gradle and java
1 parent dcf46c2 commit c59d915

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

example/android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ android {
2727
compileSdk 34
2828

2929
compileOptions {
30-
sourceCompatibility JavaVersion.VERSION_1_8
31-
targetCompatibility JavaVersion.VERSION_1_8
30+
sourceCompatibility JavaVersion.VERSION_17
31+
targetCompatibility JavaVersion.VERSION_17
3232
}
3333

3434
kotlinOptions {
35-
jvmTarget = '1.8'
35+
jvmTarget = '17'
3636
}
3737

3838
sourceSets {
@@ -42,7 +42,7 @@ android {
4242
defaultConfig {
4343
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4444
applicationId "dev.steenbakker.mobile_scanner_example"
45-
minSdkVersion 21
45+
minSdkVersion 24
4646
targetSdkVersion 34
4747
versionCode flutterVersionCode.toInteger()
4848
versionName flutterVersionName
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu May 02 10:24:49 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

example/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "7.3.0" apply false
22-
id "org.jetbrains.kotlin.android" version "1.7.22" apply false
21+
id "com.android.application" version "8.3.2" apply false
22+
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
2323
}
2424

2525
include ":app"

0 commit comments

Comments
 (0)