Skip to content

doc: Readme update#904

Closed
pmathew92 wants to merge 1 commit intov4_developmentfrom
doc_update
Closed

doc: Readme update#904
pmathew92 wants to merge 1 commit intov4_developmentfrom
doc_update

Conversation

@pmathew92
Copy link
Contributor

Changes

This PR updates the Readme file

Checklist

@pmathew92 pmathew92 requested a review from a team as a code owner February 7, 2026 15:52
Copilot AI review requested due to automatic review settings February 7, 2026 15:52
@pmathew92 pmathew92 changed the base branch from main to v4_development February 7, 2026 15:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the Android/Gradle toolchain (Gradle/AGP/Kotlin/Java), migrates tests away from deprecated PowerMock/old Mockito matchers toward modern Mockito APIs, and updates CI/docs accordingly.

Changes:

  • Upgrade build tooling to Gradle 8.x / AGP 8.x / Kotlin 2.0.x and move compilation to Java 17.
  • Update Android manifests/build scripts for AGP 8 namespace requirements and modern DSL (lint/jacoco).
  • Refactor and update unit tests and GitHub Actions workflows to align with the new toolchain.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sample/src/main/AndroidManifest.xml Removes package attribute in preparation for AGP 8 namespace usage.
sample/build.gradle Adds namespace, updates DSL (compileSdk/minSdk/targetSdk) and sets Java/Kotlin target to 17.
gradle/wrapper/gradle-wrapper.properties Upgrades Gradle wrapper to 8.10.2.
gradle/jacoco.gradle Updates JaCoCo version and report DSL for newer Gradle/AGP.
gradle.properties Removes obsolete/temporary properties and cleans up configuration.
build.gradle Updates Kotlin version and AGP plugin version (toolchain bump).
auth0/src/test/java/com/auth0/android/request/internal/TLS12SocketFactoryTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/request/internal/CommonThreadSwitcherDelegateTest.kt Switches from deprecated mockito-kotlin2 package to org.mockito.kotlin.
auth0/src/test/java/com/auth0/android/request/internal/BaseRequestTest.kt Updates mockito-kotlin import package and replaces deprecated Mockito verification helpers.
auth0/src/test/java/com/auth0/android/request/internal/BaseAuthenticationRequestTest.kt Switches to org.mockito.kotlin imports.
auth0/src/test/java/com/auth0/android/request/RetryInterceptorTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/provider/WebAuthProviderTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/provider/PermissionHandlerTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/provider/PasskeyManagerTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/provider/PKCETest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/provider/OAuthManagerStateTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/provider/CustomTabsOptionsTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/provider/CustomTabsControllerTest.java Removes PowerMock usage and refactors a test to avoid private-method mocking.
auth0/src/test/java/com/auth0/android/provider/BrowserPickerTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/provider/AuthenticationActivityTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/myaccount/MyAccountAPIClientTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/management/UsersAPIClientTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/dpop/DPoPUtilTest.kt Updates to org.mockito.kotlin APIs and adds Robolectric runner.
auth0/src/test/java/com/auth0/android/dpop/DPoPTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/dpop/DPoPKeyStoreTest.kt Refactors away from PowerMock to Mockito static mocking + Robolectric config.
auth0/src/test/java/com/auth0/android/authentication/storage/SharedPreferencesStorageTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/authentication/storage/SecureCredentialsManagerTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/authentication/storage/SecureCredentialsManagerBiometricPolicyTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/authentication/storage/LocalAuthenticationManagerTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/authentication/storage/CryptoUtilTest.java Large refactor to remove PowerMock, using Mockito static/constructor mocking + Robolectric.
auth0/src/test/java/com/auth0/android/authentication/storage/CredentialsManagerTest.kt Updates to org.mockito.kotlin APIs and replaces deprecated Mockito verification helpers.
auth0/src/test/java/com/auth0/android/authentication/request/SignUpRequestTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/authentication/request/ProfileRequestTest.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/test/java/com/auth0/android/authentication/AuthenticationAPIClientTest.kt Updates to org.mockito.kotlin APIs.
auth0/src/test/java/com/auth0/android/Auth0Test.java Migrates deprecated Mockito matchers to ArgumentMatchers.
auth0/src/main/AndroidManifest.xml Removes package attribute to align with AGP 8 namespace.
auth0/build.gradle Adds namespace, updates DSL, bumps Java target to 17, updates test dependencies and removes PowerMock.
README.md Updates documented Java requirement and Gradle config examples to Java 17.
AGP_UPGRADE_PLAN.md Adds an upgrade plan document for AGP/Gradle 8 migration.
.github/workflows/release.yml Updates release workflows to run with Java 17.
.github/workflows/codeql.yml Updates CodeQL workflow to use Java 17.
.github/actions/setup/action.yml Updates CI setup defaults (Java/Gradle/Kotlin) for the new toolchain.
.github/actions/maven-publish/action.yml Updates publishing action to use Java 17.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +29 to +33
Android API version 31 or later and Java 17+.

> :warning: Applications targeting Android SDK version 30 (`targetSdkVersion = 30`) and below should use version 2.9.0.

Here’s what you need in `build.gradle` to target Java 8 byte code for Android and Kotlin plugins respectively.
Here’s what you need in `build.gradle` to target Java 17 byte code for Android and Kotlin plugins respectively.
Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR metadata (title/description) says this is a README-only update, but the diff includes a Gradle/AGP/Kotlin toolchain upgrade plus large test refactors and CI workflow changes. Please update the PR title/description to reflect the real scope so reviewers and release notes are accurate.

Copilot uses AI. Check for mistakes.
@pmathew92 pmathew92 closed this Feb 7, 2026
@pmathew92 pmathew92 deleted the doc_update branch February 7, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant