Korcan Hussein
ae37c1bf29
gradle: Upgrade gradle and packages
...
* Upgrades the gradle version (using AGP upgrade assistant)
* Upgrades android package dependencies to latest versions (using project settings upgrade tool)
* Bump compile platform SDK level to 34 (required for package updates)
* Bump java src compatibility version (required for api level 34)
* Fix deprecated warnings
* Code compile fixes to account for package changes
* explicitly specify cmake version
* bump NDK to latest LTS version
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2270 >
2024-07-03 19:28:53 +00:00
utzcoz
198daf42d8
gradle: Bump svg-2-android-vector to 0.1.0
...
Use latest svg-2-android-vector for AGP 8.x.
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-11-15 10:06:20 -06:00
utzcoz
01fc8642ee
gradle: Bump AGP to 8.1.0 and Gradle 8.0
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-11-15 10:06:20 -06:00
utzcoz
e06e222391
gradle: Bump Spotless to 6.22.0
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-11-15 10:06:20 -06:00
utzcoz
06b2ae737b
gradle: Enable spotless for Gradle, Markdown and gitignore files
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-04-17 10:58:38 -05:00
utzcoz
8e93bbde4b
gradle: Integrate spotless to format Java and Kotlin code
...
See https://github.com/diffplug/spotless .
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-04-17 10:58:38 -05:00
utzcoz
5565564e70
gradle: Fix building with JDK11+
...
1. Bump Kotlin version to 1.7.10.
2. Bump Hilt version to 2.45.
3. Add implementation of lifecycle-viewmodel-ktx dependency explicitly
to fix duplicate class error.
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-04-11 11:43:57 +00:00
Ryan Pavlik
35b1bc063d
gradle: Update dependencies further and fix conflicts
2023-04-10 14:11:41 -05:00
utzcoz
7676fa0a93
gradle: Bump AGP to 7.1.2
...
1. Bump AGP to 7.1.2.
2. Bump hiltVersion to 2.38.1.
3. Migrate lintOptions to lint.
4. Move package from AndroidManifest to Gradle.
5. Fully qualify application class name.
6. Fix packagingOptions usage with resources wrapper.
Signed-off-by: utzcoz <utzcoz@outlook.com>
Signed-off-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2023-03-29 16:48:16 +00:00
Ryan Pavlik
b4aed1309c
ci: Move default versions from install-android-sdk to the config.yml
2022-06-27 10:00:06 -05:00
Ryan Pavlik
466706e37a
gradle: Upgrade some plugins.
2022-06-25 09:59:37 +08:00
Ryan Pavlik
e1a0486f30
gradle: Update some deps slightly to cope with gradle 7
2022-06-25 09:59:37 +08:00
Ryan Pavlik
98f430f6f7
gradle: More dependency updates.
2022-06-25 09:59:37 +08:00
Ryan Pavlik
e5f6045b57
gradle: Be able to fetch Eigen if it's not found on the system.
2022-05-26 11:43:11 -05:00
Ryan Pavlik
81eaf5c28c
gradle: update NDK and build tools versions to be consistent.
2022-03-16 20:29:50 +00:00
Ryan Pavlik
1ac72072c4
gradle: Update to Kotlin 1.5.0
2021-09-27 09:26:15 -05:00
Ryan Pavlik
892bfc1071
gradle: Update Material to 1.3.0
2021-09-27 09:26:15 -05:00
Ryan Pavlik
52e75e8e27
t/oxr_android: Update Hilt to a stable release
...
Only one change in our usage was needed.
2021-09-27 09:26:15 -05:00
Ryan Pavlik
b53d022533
gradle: Update AboutLibraries dep
...
Note that we're one version back from the latest due to a bug.
2021-09-27 09:26:15 -05:00
Christoph Haag
3be921291b
build: Update gradle
2021-05-18 02:13:38 +02:00
Ryan Pavlik
dd1fa85f05
gradle: Remove jcenter usage, it was shut down.
2021-05-14 14:55:12 -05:00
Ryan Pavlik
d11ef4ae1e
Revert "gradle: Only forward EIGEN3_INCLUDE_DIR definition if we actually have it set."
...
This reverts commit 0868a90a1f
.
2021-05-14 14:54:52 -05:00
Ryan Pavlik
3540104613
gradle: Bump kotlin version.
2021-04-30 17:57:50 -05:00
Ryan Pavlik
5c62db854e
gradle: update Android gradle plugin
2021-04-30 17:57:50 -05:00
Ryan Pavlik
0868a90a1f
gradle: Only forward EIGEN3_INCLUDE_DIR definition if we actually have it set.
2021-04-26 14:27:21 +00:00
Ryan Pavlik
f3dc8393a0
gradle: Bump dependency versions.
2021-04-13 11:46:53 -05:00
Ryan Pavlik
a1aa5611fe
gradle: Update to android-gradle-plugin 4.1.2
2021-02-10 16:09:12 +00:00
Ryan Pavlik
36b9d9e7c5
gradle: Update comment
2021-01-19 16:13:44 +00:00
Ryan Pavlik
3c3d628f0c
t/oxr_android: Add resources and build code to grab the CDDL license for display.
...
Used by a dependency of Hilt.
2020-12-01 18:05:32 +01:00
Ryan Pavlik
885dd1d4d5
gradle: Handle kotlin in multiple parts of the build
2020-12-01 18:05:32 +01:00
Ryan Pavlik
2c3e0a2bac
gradle: Start using a plugin to use SVG files as vector drawables sources.
2020-12-01 18:05:31 +01:00
Ryan Pavlik
6ae4bc6960
gradle: Update Android plugin
2020-12-01 18:05:31 +01:00
Ryan Pavlik
23e01fc656
gradle: Factor out the dependency versions to a build-wide variable
2020-12-01 18:05:31 +01:00
Ryan Pavlik
451a9c5150
android: Update to AboutLibraries 8.5.0
...
This includes my submission allowing licenses to be
included explicitly in the gradle files.
2020-11-10 18:44:03 +00:00
Ryan Pavlik
cb09e68f0c
gradle: Allow python location to be explicitly specified in local.properties
2020-11-05 16:09:27 -06:00
Ryan Pavlik
240b8f3047
t/oxr_android: Include library attribution/notices in "about" activity.
2020-10-30 18:20:36 -05:00
Ryan Pavlik
55eab2d79b
t/oxr_android: Set package version from Git
2020-10-30 18:20:35 -05:00
Ryan Pavlik
64d891f0c6
gradle: Provide a default eigenIncludeDir that works on Linux
2020-10-30 18:20:35 -05:00
Ryan Pavlik
d0187cee9a
aux/android: Add Java code
2020-10-28 09:33:26 -05:00