IMPORTANT: Make sure you are using a JDK 8 JVM by checking java -version before any of the steps below. If you run the steps below on a JDK 11+ JVM, that will break Java 8 support, as the released jars will only run on JDK 11. We do not target Java 8 when building on JDK 11 since Error Prone has required Java 11 since version 2.11.0.
gradle.properties to a non-SNAPSHOT version and ./gradlew build.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/**cp jar-infer/scripts/android-jar.conf.template jar-infer/scripts/android-jar.confandroid-jar.confrm jar-infer/android-jarinfer-models-sdk28/src/main/resources/jarinfer.astubx (for SDK 28)python jar-infer/scripts/android-jar.pygradle.properties to a non-SNAPSHOT version.CHANGELOG.md for the impending release.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 publish --no-daemon --no-parallelgradle.properties to the next SNAPSHOT version.git commit -am "Prepare next development version."git push && git push --tags