Remove deleted gradle API used by buildsystem plugin, Fixes AB#3689387#444
Remove deleted gradle API used by buildsystem plugin, Fixes AB#3689387#444ridam-arora wants to merge 2 commits into
Conversation
|
❌ Work item link check failed. Description does not contain AB#{ID}. Click here to Learn more. |
|
@microsoft-github-policy-service agree company="Microsoft" |
|
✅ Work item link check complete. Description contains link AB#3689387 to an Azure Boards work item. |
|
❌ Invalid work item number: AB#3689387 Changes. Work item number must be a valid integer. Click here to learn more. |
There was a problem hiding this comment.
Pull request overview
Updates the internal plugins/buildsystem Gradle plugin to avoid Gradle 9+ removed APIs by switching Java compatibility configuration to JavaPluginExtension, and adds internal feed publishing configuration for the plugin artifact.
Changes:
- Replace legacy Java compatibility configuration with
JavaPluginExtension#setSourceCompatibility/#setTargetCompatibility. - Add a changelog entry for the Gradle API migration.
- Bump plugin version and add
publishingrepository config targeting the NewAndroid Azure Artifacts feed.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| plugins/buildsystem/src/main/java/com/microsoft/identity/buildsystem/BuildPlugin.java | Switch Java source/target compatibility configuration to JavaPluginExtension (Gradle 9+ compatible). |
| plugins/buildsystem/changelog | Add release notes entry documenting removal of deleted Gradle APIs. |
| plugins/buildsystem/build.gradle | Bump plugin version and add internal Azure Artifacts publishing repository configuration. |
|
|
||
| group 'com.microsoft.identity' | ||
| version '0.2.5' | ||
| version '0.2.6-dev' |
| username System.getenv("ENV_VSTS_MVN_CRED_USERNAME") != null ? System.getenv("ENV_VSTS_MVN_CRED_USERNAME") : project.findProperty("vstsUsername") | ||
| password System.getenv("ENV_VSTS_MVN_CRED_ACCESSTOKEN") != null ? System.getenv("ENV_VSTS_MVN_CRED_ACCESSTOKEN") : project.findProperty("vstsMavenAccessToken") |
AB#3689387
Changes the gradle API used by this plugin to set the sourceCompatibility and targetCompatibility properties. the API JavaPluginConvention has been deleted in gradle 9+