Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the android gradle version #490

Merged
merged 11 commits into from
Jan 31, 2025
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
# Global coverage
coverage/

appium-test/node_modules/*
appium-test/node_modules/*

.idea/*
5 changes: 3 additions & 2 deletions auth0_flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "com.android.tools.build:gradle:8.4.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -32,6 +32,7 @@ rootProject.allprojects {

android {
compileSdk 34

if (project.android.hasProperty("namespace")) {
namespace libApplicationId
}
Expand Down Expand Up @@ -72,7 +73,7 @@ android {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
//noinspection GradleDynamicVersion
implementation 'com.auth0.android:auth0:2.10.2'
implementation 'com.auth0.android:auth0:2.11.0'

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
Expand Down
1 change: 1 addition & 0 deletions auth0_flutter/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
android.useAndroidX=true
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 3 additions & 3 deletions auth0_flutter/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId exampleAppApplicationId
minSdkVersion 21
targetSdkVersion 31
targetSdk 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
manifestPlaceholders += [auth0Domain: "$System.env.AUTH0_DOMAIN",
auth0Scheme: "$System.env.AUTH0_CUSTOM_SCHEME"]
manifestPlaceholders += [auth0Domain: "YOUR_DOMAIN",
auth0Scheme: "YOUR_SCHEME"]

testOptions {
unitTests.returnDefaultValues = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
#Fri Jan 03 12:46:32 IST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
Loading