-
Notifications
You must be signed in to change notification settings - Fork 3
Move our Libraries to only use artifact feed for packages, no Maven Central, Fixes AB#3395409 #385
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
Conversation
|
❌ Work item link check failed. Description does not contain AB#{ID}. Click here to Learn more. |
|
✅ Work item link check complete. Description contains link AB#3395409 to an Azure Boards work item. |
| apply from: rootProject.file("../gradle/versions.gradle") | ||
|
|
||
| repositories { | ||
| // If you don't have access to the package feed below, uncomment the maven central repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why might someone not have access to this feed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They need an access token for identity division no? What if it's a third party customer? Might not be applicable for android-compelte or broker, but it would be for msal/common. i decided to add it everywhere to be consistent, in case some internal users don't have access to the feed but want to build.
Received an s360 item asking our libraries to always pull packages from feeds, and not declare mavenCentral as a repository to source dependencies. The feed itself has maven as an upstream. We cannot use AndroidADAL feed as that one has some versions deleted (once a version is deleted from a feed, it cannot be restored, even if an upstream has it). Created a new feed to support this https://identitydivision.visualstudio.com/Engineering/_artifacts/feed/NewAndroid. We pull packages from this new feed, but we still publish our versions to AndroidADAL. The new feed has AndroidADAL as an upstream still, so our existing collection of artifacts is still accessible.
I also took this chance to consolidate the Maven VSTS Username and Access Token fields, which are fields used to authenticate and pull artifacts from the feed. Previously, each library had their own names for these fields with an identifier based on the library in question. These PRs make it so all libraries use the same names,
ENV_VSTS_MVN_CRED_USERNAMEandENV_VSTS_MVN_CRED_ACCESSTOKEN.Validation: https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1568877&view=results
AB#3395409