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
One way of using mainline source, we can use the gradle task publishReleasePublicationToMavenLocal
It will publish all the libraries to maven local and the consuming app can import these libraries.
To publish a version, the parameter releaseVersion in constants.gradle has to be updated.
Proposed solution
We can have a better way to specify the release version via gradle command arguments.
For this to work the following changes has to be done in constants.gradle
releaseVersion = findProperty('releaseVersion') ?: '1.5.0-alpha01'
releaseVersionCode = findProperty('releaseVersionCode') ?: 1_005_000_0_01