- Change the version in
gradle.properties
to a non-SNAPSHOT version and./gradlew build
. - Get a copy of the AOSP
framework_intermediates
for 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/framework_intermediate/** - (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.properties
to a non-SNAPSHOT version. - Update the
CHANGELOG.md
for the impending release. - Update the
README.md
with the new version. 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 uploadArchives
- Update the
gradle.properties
to the next SNAPSHOT version. git commit -am "Prepare next development version."
git push && git push --tags
- Visit Sonatype Nexus and promote the artifact.