You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to be able to have access to methods like getApiDependencies, getRuntimeDependencies, etc, using a public API. Either new methods added to MavenPublication, or a new public subtype of MavenPublication
Current Behavior
These methods are only available by downcasting to MavenPublicationInternal.
Context
AndroidX tracks dependencies of all of our sublibraries in order to determine when a releasing library requires one of its dependencies to also be released in order to continue working. If we could get this information by crawling the maven dependencies through a public API at the time the publications are configured, that would be cleaner than alternatives (including downcasting to internal API or parsing the output files)
The text was updated successfully, but these errors were encountered:
Expected Behavior
Would like to be able to have access to methods like
getApiDependencies
,getRuntimeDependencies
, etc, using a public API. Either new methods added toMavenPublication
, or a new public subtype ofMavenPublication
Current Behavior
These methods are only available by downcasting to
MavenPublicationInternal
.Context
AndroidX tracks dependencies of all of our sublibraries in order to determine when a releasing library requires one of its dependencies to also be released in order to continue working. If we could get this information by crawling the maven dependencies through a public API at the time the publications are configured, that would be cleaner than alternatives (including downcasting to internal API or parsing the output files)
The text was updated successfully, but these errors were encountered: