Skip to content

Commit 0cd0412

Browse files
authored
Update kotlin version and related Android dependencies (#158)
1 parent 2e59adb commit 0cd0412

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

android/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'com.descope.flutter'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.9.25'
5+
ext.kotlin_version = '2.2.0'
66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:8.9.2'
12+
classpath 'com.android.tools.build:gradle:8.12.0'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626

2727
android {
2828
namespace "com.descope.flutter"
29-
compileSdk 35
29+
compileSdk 36
3030

3131
compileOptions {
3232
sourceCompatibility JavaVersion.VERSION_1_8
@@ -44,16 +44,16 @@ android {
4444

4545
defaultConfig {
4646
minSdk 24
47-
targetSdk 35
47+
targetSdk 36
4848
}
4949

5050
dependencies {
5151
implementation "androidx.browser:browser:1.8.0"
52-
implementation "androidx.security:security-crypto:1.0.0"
53-
implementation "androidx.credentials:credentials:1.3.0"
54-
implementation "androidx.credentials:credentials-play-services-auth:1.3.0"
52+
implementation "androidx.security:security-crypto:1.1.0"
53+
implementation "androidx.credentials:credentials:1.5.0"
54+
implementation "androidx.credentials:credentials-play-services-auth:1.5.0"
5555
implementation "com.google.android.libraries.identity.googleid:googleid:1.1.1"
56-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
56+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2"
5757
}
5858

5959
testOptions {

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ issue_tracker: https://github.com/descope/descope-flutter/issues
77
documentation: https://docs.descope.com/
88

99
environment:
10-
sdk: ">=2.19.6 <4.0.0"
10+
sdk: ">=3.0.0 <4.0.0"
1111
flutter: ">=1.17.0"
1212

1313
dependencies:

0 commit comments

Comments
 (0)