1(Recommended, but optional) Update JarInfer Android SDK Models 2============================================================== 3 4 1. Change the version in `gradle.properties` to a non-SNAPSHOT version and `./gradlew build`. 5 2. Get a copy of the AOSP `framework_intermediates` for the corresponding Android version. 6 2a. At Uber? http://t.uber.com/aosp_framework_intermediate 7 2b. Elsewhere? You can still build the corresponding AOSP version and look for 8 out/target/common/obj/JAVA_LIBRARIES/** 9 3. (first time) `cp jar-infer/scripts/android-jar.conf.template jar-infer/scripts/android-jar.conf` 10 4. Set the correct paths and versions in `android-jar.conf` 11 5. `rm jar-infer/android-jarinfer-models-sdk28/src/main/resources/jarinfer.astubx` (for SDK 28) 12 6. `python jar-infer/scripts/android-jar.py` 13 7. Continue to release instructions below 14 15 16Releasing 17========= 18 19 1. Change the version in `gradle.properties` to a non-SNAPSHOT version. 20 2. Update the `CHANGELOG.md` for the impending release. 21 3. Update the `README.md` with the new version. 22 4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version) 23 5. `git tag -a vX.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version) 24 6. `./gradlew clean publish --no-daemon --no-parallel` 25 7. Update the `gradle.properties` to the next SNAPSHOT version. 26 8. `git commit -am "Prepare next development version."` 27 9. `git push && git push --tags` 28 10. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact. 29