Skip to content

Commit fad202d

Browse files
committed
upgrade: bump Android toolchain versions (Gradle 9.4.1, Kotlin 2.3.20, SDK 37, NDK 30.0.14904198)
1 parent 076bb54 commit fad202d

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ gradle.taskGraph.whenReady {
1919
}
2020
}
2121
android {
22-
compileSdkVersion 36
22+
compileSdk = 37
2323

24-
ndkVersion "29.0.14206865"
24+
ndkVersion "30.0.14904198"
2525

2626
sourceSets {
2727
main.java.srcDirs += 'src/main/kotlin'
@@ -31,8 +31,8 @@ android {
3131
defaultConfig {
3232
applicationId "io.github.danxi_dev.dan_xi"
3333
namespace "io.github.danxi_dev.dan_xi"
34-
minSdkVersion flutter.minSdkVersion
35-
targetSdk 36
34+
minSdk = flutter.minSdkVersion
35+
targetSdk 37
3636
versionCode flutter.versionCode
3737
versionName flutter.versionName
3838
}

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ subprojects {
4040
}
4141
}
4242

43-
// override the kotlin language version for each dependencies to 2.3.10
43+
// override the kotlin language version for each dependencies to 2.3.20
4444
configurations.all {
4545
resolutionStrategy.eachDependency { details ->
4646
if (details.requested.group == 'org.jetbrains.kotlin' && details.requested.name == 'kotlin-gradle-plugin') {
47-
details.useVersion '2.3.10'
47+
details.useVersion '2.3.20'
4848
}
4949
}
5050
}

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ 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-9.3.1-bin.zip
6+
distributionUrl=https://services.gradle.org/distributions/gradle-9.4.1-bin.zip

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
2121
id "com.android.application" version "8.13.2" apply false
22-
id "org.jetbrains.kotlin.android" version "2.2.21" apply false
22+
id "org.jetbrains.kotlin.android" version "2.3.20" apply false
2323
}
2424

2525
include ":app"

0 commit comments

Comments
 (0)