Skip to content

Commit 6fb8bc8

Browse files
authored
chore(samples): update gradle and kotlin versions (#2410)
1 parent 9492ca4 commit 6fb8bc8

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

.github/workflows/stream_flutter_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
pull_request:
99
paths:
1010
- 'packages/**'
11+
- 'sample_app/**'
1112
- '.github/workflows/stream_flutter_workflow.yml'
1213
types:
1314
- opened

sample_app/android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ android {
1414
ndkVersion "27.0.12077973"
1515

1616
compileOptions {
17-
sourceCompatibility JavaVersion.VERSION_11
18-
targetCompatibility JavaVersion.VERSION_11
17+
sourceCompatibility JavaVersion.VERSION_17
18+
targetCompatibility JavaVersion.VERSION_17
1919
coreLibraryDesugaringEnabled true
2020
}
2121

2222
kotlinOptions {
23-
jvmTarget = JavaVersion.VERSION_11.toString()
23+
jvmTarget = JavaVersion.VERSION_17.toString()
2424
}
2525

2626
defaultConfig {
@@ -60,5 +60,5 @@ flutter {
6060
}
6161

6262
dependencies {
63-
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
63+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
6464
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dlint.nullness.ignore-deprecated=true
2-
android.enableR8=true
2+
org.gradle.caching=true
3+
org.gradle.parallel=true
34
android.useAndroidX=true
45
android.enableJetifier=true
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Oct 22 11:03:39 CEST 2020
1+
#Thu Oct 9 20:41:39 CEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip

sample_app/android/settings.gradle

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

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.7.0" apply false
21+
id "com.android.application" version "8.12.2" apply false
2222
// START: FlutterFire Configuration
23-
id "com.google.gms.google-services" version "4.3.10" apply false
23+
id "com.google.gms.google-services" version "4.4.3" apply false
2424
// END: FlutterFire Configuration
25-
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
25+
id "org.jetbrains.kotlin.android" version "2.1.20" apply false
2626
}
2727

2828
include ":app"

0 commit comments

Comments
 (0)