Skip to content

Commit 3d42fc9

Browse files
committed
-Supdate SDK dependencies to latest
1 parent 7d7ea70 commit 3d42fc9

File tree

6 files changed

+24
-15
lines changed

6 files changed

+24
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ Next, define the Manifest Placeholders for the Auth0 Domain and Scheme which are
117117
apply plugin: 'com.android.application'
118118
119119
android {
120-
compileSdkVersion 35
120+
compileSdkVersion 36
121121
defaultConfig {
122122
applicationId "com.auth0.samples"
123123
minSdkVersion 24
124-
targetSdkVersion 35
124+
targetSdkVersion 36
125125
//...
126126
127127
//---> Add the next line

V4_MIGRATION_GUIDE.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ android {
2929

3030
v4 requires:
3131

32-
- **Gradle**: 8.10.2 or later
33-
- **Android Gradle Plugin (AGP)**: 8.8.2 or later
32+
- **Gradle**: 8.11.1 or later
33+
- **Android Gradle Plugin (AGP)**: 8.10.1 or later
3434

3535
Update your `gradle/wrapper/gradle-wrapper.properties`:
3636

3737
```properties
38-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
38+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
3939
```
4040

4141
Update your root `build.gradle`:
4242

4343
```groovy
4444
buildscript {
4545
dependencies {
46-
classpath 'com.android.tools.build:gradle:8.8.2'
46+
classpath 'com.android.tools.build:gradle:8.10.1'
4747
}
4848
}
4949
```
@@ -80,7 +80,16 @@ configurations.all {
8080
}
8181
```
8282

83-
> **Note:** Pinning to an older version is not recommended long-term, as the SDK has been tested and validated against Gson 2.11.0.
83+
Alternatively, you can exclude Gson from the SDK entirely and provide your own version:
84+
85+
```groovy
86+
implementation('com.auth0.android:auth0:<version>') {
87+
exclude group: 'com.google.code.gson', module: 'gson'
88+
}
89+
implementation 'com.google.code.gson:gson:2.8.9' // your preferred version
90+
```
91+
92+
> **Note:** Pinning or excluding is not recommended long-term, as the SDK has been tested and validated against Gson 2.11.0.
8493
8594
## Getting Help
8695

auth0/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ logger.lifecycle("Using version ${version} for ${name}")
3535

3636
android {
3737
namespace 'com.auth0.android.auth0'
38-
compileSdk 35
38+
compileSdk 36
3939

4040
buildFeatures {
4141
buildConfig = true
4242
}
4343

4444
defaultConfig {
4545
minSdkVersion 21
46-
targetSdk 35
46+
targetSdk 36
4747
versionCode 1
4848
versionName project.version
4949

@@ -91,7 +91,7 @@ dependencies {
9191
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
9292
implementation 'androidx.core:core-ktx:1.15.0'
9393
implementation 'androidx.appcompat:appcompat:1.7.0'
94-
implementation 'androidx.browser:browser:1.8.0'
94+
implementation 'androidx.browser:browser:1.9.0'
9595
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
9696
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
9797

@@ -108,7 +108,7 @@ dependencies {
108108
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttpVersion"
109109
testImplementation "com.squareup.okhttp3:okhttp-tls:$okhttpVersion"
110110
testImplementation 'com.jayway.awaitility:awaitility:1.7.0'
111-
testImplementation 'org.robolectric:robolectric:4.14.1'
111+
testImplementation 'org.robolectric:robolectric:4.15.1'
112112
testImplementation 'androidx.test.espresso:espresso-intents:3.6.1'
113113
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion"
114114

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:8.8.2'
9+
classpath 'com.android.tools.build:gradle:8.10.1'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
classpath "org.jacoco:org.jacoco.core:0.8.12"
1212
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55

66
android {
77
namespace 'com.auth0.sample'
8-
compileSdk 35
8+
compileSdk 36
99

1010
defaultConfig {
1111
minSdk 24
12-
targetSdk 35
12+
targetSdk 36
1313
versionCode 1
1414
versionName "1.0"
1515

0 commit comments

Comments
 (0)