Commit graph

76 commits

Author SHA1 Message Date
Darcy Wong
072aa7d21f chore(android): update Gradle wrapper version 2024-05-14 13:55:52 +07:00
Darcy Wong
dd20ae30d0 chore(android/samples): Update dependencies 2024-05-08 07:58:58 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Darcy Wong
fdb14f2582 chore(android): Update targetSdkVersion to 34 2024-01-16 09:26:24 +07:00
Darcy Wong
89fde7a447 fix(android/samples): Cleanup Sample/Tests apk's 2023-06-16 07:39:41 -05:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Darcy Wong
cd2d2b794b fix(android): Move cp from configure to build actions 2023-03-31 13:22:28 +07:00
Darcy Wong
ff6d5dbd44 chore(android): Update Android projects for Java 11 2023-03-29 09:46:27 +07:00
Darcy Wong
9948407ee9 chore(android): Update gradle-wrapper to 7.5.1 2023-03-29 09:46:27 +07:00
Darcy Wong
30859f8d2c chore(android/samples): Add todo comments for builder tests 2023-03-16 09:27:59 +07:00
Darcy Wong
3d57f17c83 fix(android/samples): Define empty builder test steps 2023-03-16 09:20:31 +07:00
Darcy Wong
1a8d047ba1
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-13 11:13:14 +07:00
Darcy Wong
78adb337a1 refactor(android): Use builder_is_debug_build 2023-03-08 09:57:36 +07:00
Darcy Wong
55349e32cf fix(android): Have top level builder handle cleaning up upload 2023-03-03 13:21:16 +07:00
Darcy Wong
6ab7068e0c
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-03 07:57:42 +07:00
Darcy Wong
8e140a34a0 fix(android/samples): CONFIG typo 2023-03-02 09:15:35 +07:00
Darcy Wong
f70044029c fix(android): Configure path 2023-02-28 08:41:55 +07:00
Darcy Wong
90b1bc82f2 fix(android): Include config in path to keyman-engine.aar 2023-02-27 11:42:24 +07:00
Darcy Wong
e1820013c6 fix(android): Fix output paths 2023-02-24 13:46:00 +07:00
Darcy Wong
7a1f80e70d fix(android): Update configure actions 2023-02-24 11:33:26 +07:00
Darcy Wong
132e7f6f86 chore(android/samples): Tidy up Sample builder scripts 2023-02-23 13:56:58 +07:00
Darcy Wong
0555028892 refactor(android/samples): Update KMSample builder scripts 2023-02-23 11:43:10 +07:00
Darcy Wong
cf2c402462 chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/builder-script 2023-02-03 13:13:24 +07:00
Darcy Wong
a11164c57b chore(android): Merge branch 'master' into refactor/android/builder-script 2023-01-12 15:17:36 +07:00
Darcy Wong
92c982723c chore(android/samples): Update namespace for Sample apps 2023-01-06 09:04:12 +07:00
Darcy Wong
ad3fd833e3 chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/builder-script 2022-12-15 16:06:00 +07:00
Darcy Wong
a4ff79037e chore(android/samples): Remove Sentry dependencies 2022-12-14 07:03:16 +07:00
Darcy Wong
2a0368bc54 chore(android): Update Gradle dependencies 2022-12-13 11:26:35 +07:00
Darcy Wong
6a8865d0b6 chore(android): Update Target SDK Version to 31 2022-11-18 08:48:58 +07:00
Darcy Wong
e7e8dc6908 chore(android/samples): Update builder scripts 2022-10-20 11:05:45 +07:00
Darcy Wong
f21ffde0fc fix(android/engine): Add language name when installing lexical-model 2022-09-22 14:28:54 +07:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Darcy Wong
8c9014ced9 chore(android): Upgrade gradle-wrapper version to 6.8 2022-02-09 08:59:56 +07:00
Darcy Wong
973a2d3f86 chore(android): Remove runConfigurations.xml files 2021-08-09 17:17:26 +07:00
Darcy Wong
92c5e5d884 chore(android): Update sentry-android-gradle-plugin 2021-08-04 11:10:35 +07:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
Darcy Wong
6db8cea05b chore(android/samples): Update dependencies for Sample projects
Also update targetSDKVersion to 30
2021-05-21 10:54:30 +07:00
Darcy Wong
3465e99271 chore(android/samples): Remove old sample keyboard loaded code 2021-01-22 09:40:38 +07:00
Darcy Wong
d8fbec7cd1 fix(android/samples): Add dependency on androidx.preference 2021-01-21 15:44:56 +07:00
Darcy Wong
7e740b765c fix(android/samples): Fix Sentry dependencies 2021-01-15 13:20:27 +07:00
Darcy Wong
c55ce15a9e fix(android): Remove use of version.gradle in Sample projects
Fixes #3896
2020-11-19 13:16:04 +07:00
Darcy Wong
9ef2cec502 chore(android): Update dependencies 2020-10-22 10:51:34 +07:00
Darcy Wong
5369d85d86 test(android): Update Sample and Test Projects to use Keyboard syntax
Also rebuild keyboardharness.kmp to set version for chirality.js
2020-06-05 11:03:49 +07:00
Marc Durdin
214bd4652e chore(windows): Merge branch 'master' into fix/windows/sentry-cleanup 2020-04-30 05:04:13 +10:00
Marc Durdin
b12baab1c5 fix(android): link VERSION_ENVIRONMENT 2020-04-28 15:56:56 +10:00
Darcy Wong
2be7449462 fix(android): Update minimum SDK to 21
Fixes #2989

This updates the minimum supported Android SDK to 21 (Lollipop). This applies to KMEA, KMAPro, Sample Apps, KeyboardHarness, and FV Android app.

Tests/keyCode doesn't use KMEA so no change there.
2020-04-16 11:55:00 +07:00
Darcy Wong
152168ba8c modify(android): Update sample and test projects to install asset kmp's
Follow-on to #2928 for KMSample1, KMSample2, and keyboardharness projects.

For KMSample1 and KMSample2, also changed keyboard from deprecated legacy [tamil99m](https://keyman.com/keyboards/tamil99m) to release [basic_kbdtam99]
(https://keyman.com/keyboards/basic_kbdtam99).

For Keyboardharness, manually assembled keyboards into a package.
2020-04-02 10:26:48 +07:00
Darcy Wong
25fdd3d150 fix(android): Update min SDK versions for sample apps 2020-03-23 09:00:48 +07:00
Darcy Wong
05869c3008 change(android): Replace fabric with sentry in other apps 2020-03-02 22:08:13 +07:00