Files
qt5/coin/provisioning/common/linux/android/gradle_project
Assam Boudjelthia 33eb114747 COIN:Android: update sha and versions for Gradle caching
Update AGP, minSDK and androidx.core versions and qtbase
sha. This is needed after Gradle, AGP and minimum Android
version bumps done in:
* f22e9795d9a32fc4e9f4d6f2a70c2f831028342b (Gradle and AGP)
* 841bbbe8ec5eb9c822af4359278f73ae9a6599bb (Android 9 bump)

Change-Id: I88d598ab1041847a995c37fc665467a2e9d12ab5
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 2e9af73a58)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-26 18:38:20 +00:00
..

Android Gradle Project for COIN

This project is used to at provisioning time to do an Android Gradle build that will download Gradle binaries and AGP dependencies, then they will be cached allowing consecutive builds, i.e. at test runs to not redownload the Gradle binaries which tend to run into network issues and thus improving the reliability of the Android integrations on COIN.

The project is a basic empty views Android project that can be created by Android Studio, it's Java based. Below is some extra details on relevant files that might need updates in the future:

  • settings.gradle: mainly sets the the project name
  • under app/src/main/ res/layout/activity_main.xml and src//.java: sets the layout and logic of the app, this shouldn't need to be touched.
  • AndroidManifest.xml / app/build.gradle: Sets project settings like target version.
  • gradle/libs.versions.toml: This sets the version numbers of various dependencies.

Other files required for the project build are gradle wrapper and scripts which are fetched by android_linux.sh from qtbase.