By default, we set RELEASE_SIGNING_ENABLED=true in gradle.properties, which means
published builds must be signed unless they are for a SNAPSHOT version. To publish
a non-SNAPSHOT build locally without signing (e.g., a LOCAL version), use the
following command:
ORG_GRADLE_PROJECT_RELEASE_SIGNING_ENABLED=false ./gradlew publishToMavenLocal- Change the version in
gradle.propertiesto a non-SNAPSHOT version and./gradlew build. - Get a copy of the AOSP
framework_intermediatesfor the corresponding Android version. 2a. At Uber? http://t.uber.com/aosp_framework_intermediate 2b. Elsewhere? You can still build the corresponding AOSP version and look for out/target/common/obj/JAVA_LIBRARIES/** - (first time)
cp jar-infer/scripts/android-jar.conf.template jar-infer/scripts/android-jar.conf - Set the correct paths and versions in
android-jar.conf rm jar-infer/android-jarinfer-models-sdk28/src/main/resources/jarinfer.astubx(for SDK 28)python jar-infer/scripts/android-jar.py- Continue to release instructions below
- Change the version in
gradle.propertiesto a non-SNAPSHOT version. - Update the
CHANGELOG.mdfor the impending release. git commit -am "Prepare for release X.Y.Z."(where X.Y.Z is the new version)git tag -a vX.Y.Z -m "Version X.Y.Z"(where X.Y.Z is the new version)./gradlew clean publish- Update the
gradle.propertiesto the next SNAPSHOT version. git commit -am "Prepare next development version."git push && git push --tags- Visit Maven Central Repository and publish the artifact.
- Go to this page to create a new release on GitHub, using the release notes from
CHANGELOG.md.