Skip to content

Commit 960b07f

Browse files
committed
Update Kotlin, Gradle and all dependencies to the latest version
1 parent 50964ff commit 960b07f

4 files changed

Lines changed: 23 additions & 15 deletions

File tree

descopesdk/build.gradle.kts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
id("com.android.library")
35
id("kotlin-android")
@@ -7,16 +9,22 @@ plugins {
79

810
android {
911
namespace = "com.descope"
10-
compileSdk = 35
12+
compileSdk = 36
1113

1214
defaultConfig {
1315
minSdk = 24
14-
targetSdk = 35
15-
1616
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1717
consumerProguardFiles("consumer-rules.pro")
1818
}
1919

20+
testOptions {
21+
targetSdk = 36
22+
}
23+
24+
lint {
25+
targetSdk = 36
26+
}
27+
2028
buildTypes {
2129
release {
2230
isMinifyEnabled = false
@@ -27,9 +35,6 @@ android {
2735
sourceCompatibility = JavaVersion.VERSION_1_8
2836
targetCompatibility = JavaVersion.VERSION_1_8
2937
}
30-
kotlinOptions {
31-
jvmTarget = JavaVersion.VERSION_1_8.toString()
32-
}
3338

3439
publishing {
3540
singleVariant("release") {
@@ -39,6 +44,10 @@ android {
3944
}
4045
}
4146

47+
kotlin {
48+
compilerOptions.jvmTarget.set(JvmTarget.JVM_1_8)
49+
}
50+
4251
dependencies {
4352
implementation(descopeLibs.kotlinx.coroutines.android)
4453
implementation(descopeLibs.androidx.lifecycle.common)

gradle/libs.versions.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[versions]
2-
agp = "8.9.3"
2+
agp = "8.11.1"
33
browser = "1.8.0"
44
credentials = "1.5.0"
55
googleid = "1.1.1"
6-
json = "20250107"
6+
json = "20250517"
77
junit = "4.13.2"
8-
kotlin = "1.9.25"
9-
kotlinxCoroutinesAndroid = "1.8.1"
10-
lifecycleCommon = "2.9.0"
11-
lifecycleProcess = "2.9.0"
12-
nexus = "1.3.0"
8+
kotlin = "2.2.0"
9+
kotlinxCoroutinesAndroid = "1.10.2"
10+
lifecycleCommon = "2.9.1"
11+
lifecycleProcess = "2.9.1"
12+
nexus = "2.0.0"
1313
securityCrypto = "1.0.0"
1414

1515
[libraries]

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.12.1-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

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ dependencyResolutionManagement {
2626

2727
rootProject.name = "Descope for Android"
2828
include(":descopesdk")
29-

0 commit comments

Comments
 (0)