abouttreesummaryrefslogcommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorJules Aguillon2023-09-09 16:44:04 +0200
committerJules Aguillon2023-11-25 20:13:24 +0100
commitd073523125628ed3dcd7ef5f8a123d88c0dd3c1e (patch)
tree129aab8672e8f7d652f0efb04dd47f0c0dff7758 /CONTRIBUTING.md
parent684d5c7b70536d7a36d80da659821a2e60d81841 (diff)
downloadunexpected-keyboard-d073523125628ed3dcd7ef5f8a123d88c0dd3c1e.tar.gz
unexpected-keyboard-d073523125628ed3dcd7ef5f8a123d88c0dd3c1e.zip
shell.nix: Update dependencies and add Gradle
Update OpenJDK to version 17, Android build tools to 33.0.1 and platform to 33. These are required to build with Gradle. Add Gradle to the environment, which must be wrapped to fix a permissions issue. Setting `GRADLE_OPTS` has no effect as it seems not to be passed down to the daemon.
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9af5fa1..62b2342 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -28,6 +28,8 @@ Building the debug apk:
./gradlew assembleDebug
```
+Nix users can call gradle directly: `gradle assembleDebug`.
+
If the build succeeds, the debug apk is located in `build/outputs/apk/debug/app-debug.apk`.
## Debugging on your phone