Skip to content

Commit e1e7a75

Browse files
committed
kotlin to 2.1.0
1 parent fd33892 commit e1e7a75

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

android/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ version '1.0-SNAPSHOT'
66
Map projectYaml = loadPubspec()
77

88
buildscript {
9-
ext.kotlin_version = '1.8.22'
9+
ext.kotlin_version = '2.1.0'
1010
repositories {
1111
google()
1212
mavenCentral()
1313
}
1414

1515
dependencies {
16-
classpath "com.android.tools.build:gradle:8.3.2"
16+
classpath "com.android.tools.build:gradle:8.9.1"
1717
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1818
classpath "org.yaml:snakeyaml:2.0"
1919
}
@@ -50,16 +50,16 @@ android {
5050
}
5151

5252
defaultConfig {
53-
minSdkVersion 19
53+
minSdkVersion 24
5454
consumerProguardFiles 'consumer-proguard-rules.txt'
5555
}
5656

5757
dependencies {
5858
api 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.34'
59-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0'
60-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0'
59+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2'
60+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
6161
implementation 'id.zelory:compressor:3.0.1'
62-
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
62+
implementation 'com.squareup.okhttp3:okhttp:5.2.1'
6363
testImplementation 'org.jetbrains.kotlin:kotlin-test'
6464
testImplementation 'org.mockito:mockito-core:5.0.0'
6565
}

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip

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 "8.3.2" apply false
22-
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
21+
id "com.android.application" version "8.9.1" apply false
22+
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

2525
include ":app"

0 commit comments

Comments
 (0)