-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
android-build: Update base image and Android build tools #6
Conversation
ilammy
commented
Aug 31, 2022
- Sync with updates in https://github.com/cossacklabs/themis for upcoming Themis 0.15
- Update base system to Ubuntu 22.04 LTS
- Update misc. dependencies (e.g., Golang)
* Install Java 11 side-by-side with Java 8 Because Android SDK manager needs Java 8 while the rest of Gradle toolchain needs Java 11. Don't think about it, just download. Note that Java 11 has JDK -- with compiler and stuff, we'll need that for building Android things like javadoc. * Install shasum to check integrity Because if you're downloading random crap from the internet then at least check that it's expected crap.
New tools, new name, new retarded location requirements. Because of course they had to change, why else?
Also, kick off Android emulator and base image. This Docker image is used mostly for building Android stuff, not running emulator. For actually running Android software you're better off installing Android Studio.
can you remind where we use this image? as I understand, for themis we use github ci with their own images. |
Supposedly, whoever publishes AndroidThemis releases should be using this image for building them. I'm not aware how well automation penetrated and whether this image is actually used, or there's something else in BuildBot. This image is also the one used in documentation on how to build AndroidThemis from source. It is not used by GitHub CI. Those builds use the base system directly, using preinstalled SDK, NDK, etc. |
did you try to build using updated image and instructions from docs? to be sure that it will not be broken after update. or we need to update docs? |
Sure. It worked for me.
The only change after AndroidThemis 0.15 release would be The resulting Android library (AAR) will be placed into
-`src/wrappers/themis/android/build/outputs/aar/android.aar`.
+`src/wrappers/themis/android/build/outputs/aar/android-release.aar`.
You can then rename it and add to your project. |
we plan to release 0.15? Hm :) |
Taking about the docs, pls take a look at this draft PR. Are these changes enough? |
However you want to manage that release. If a hotfix for Android would become necessary, I
Yes. Thank you for updating the version as well! |