Upgrading the AGP Version from 7.4.2 to 8.1.1, Fixes AB#2779502#2315
Closed
Upgrading the AGP Version from 7.4.2 to 8.1.1, Fixes AB#2779502#2315
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the Android Gradle Plugin from 7.4.2 to 8.1.1 and updates several related build components including JDK, Gradle versions, and build configurations. Key changes include updating Gradle and JDK versions, applying new namespace properties in AndroidManifest and build.gradle files, and updating documentation in the changelog.
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| testapps/testapp/src/main/AndroidManifest.xml | Removed package attribute as per namespace requirements. |
| testapps/testapp/build.gradle | Added namespace and enabled buildConfig in buildFeatures. |
| pop-benchmarker/src/main/AndroidManifest.xml | Removed package attribute in line with new Gradle practices. |
| pop-benchmarker/build.gradle | Added namespace property to align with Android manifest changes. |
| package-inspector/src/main/AndroidManifest.xml | Removed package attribute to follow new guidelines. |
| package-inspector/build.gradle | Added namespace property for consistency. |
| msalautomationapp/src/androidTest/AndroidManifest.xml | Removed package declaration per updated requirements. |
| msalautomationapp/build.gradle | Added namespace and buildFeatures update. |
| msal/src/main/AndroidManifest.xml | Removed package declaration to align with project guidelines. |
| msal/build.gradle | Upgraded buildsystem plugin, added namespace, updated javadoc and PMD tasks. |
| gradle/wrapper/gradle-wrapper.properties | Upgraded Gradle distribution URL to 8.1-all. |
| gradle/versions.gradle | Updated gradleVersion to 8.1.1. |
| gradle.properties | Updated JVM arguments to reflect new Java metaspace settings. |
| common | Updated submodule commit. |
| changelog | Updated changelog entry reflecting AGP version update. |
| azure-pipelines/pull-request-validation/pr-msal.yml | Updated JDK version from 1.11 to 1.17 in pipeline configurations. |
Comments suppressed due to low confidence (1)
changelog:5
- The changelog entry references AGP Version 8.1.0, while the PR title and description indicate 8.1.1. Please update the changelog for consistency.
- [MINOR] Update AGP Version to 8.1.0 (#2254)
p3dr0rv
approved these changes
Jun 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Updates:
Updated JDK to version 1.17.
Upgraded Gradle to version 8.1.1.
Changed Gradle distribution URL to 8.1-all.
Dependency Updates:
Updated build system plugin to version 0.2.5.
Build Configuration Changes:
Added namespace properties in build.gradle files as per the new Gradle feature.
Updated Gradle task configurations to use new properties.
Adjusted Maven publishing configurations for different build types.
Removed deprecated properties and replaced them with updated ones.
Android Manifest Changes:
Commented out package declarations to align with the namespace property requirements in Gradle.
Pipeline and CI/CD Updates:
Updated Gradle tasks to use Java 17 home directory.
Adjusted JDK version in pipeline tasks from 1.11 to 1.17.
Working Pipeline runs using my branch of common:
MSAL -Build and Test: https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1466968&view=results
Common PR: AzureAD/microsoft-authentication-library-common-for-android#2587
MSAL PR: #2254
Broker PR: https://github.com/AzureAD/ad-accounts-for-android/pull/3052
Azuresample PR: Azure-Samples/ms-identity-android-java#85
AB#2779502