syncstuff/.github/copilot-instructions.md
Catfriend1 3b1e46a455 Copilot: Update instructions, place NDK in /tmp
IS_COPILOT=true isn't persistent, so copilot is instructed to set this var for every gradle build on the command line itself by the "copilot-instructions.md" file.
2025-07-14 04:07:18 +02:00

696 B

Copilot Coding Agent Configuration

We use Java 21 (eclipse-temurin:21-jdk-jammy) to build the app via gradle.

If you do gradle tasks, you need to prefix them by the following env var to decrease build time. If you forget to set the env var "IS_COPILOT" to "true", the gradle buildNative task will execute which is not required for your work.

IS_COPILOT=true

Example: "IS_COPILOT=true gradle assembleDebug"

Only use the "debug" flavor of the app when you make gradle builds. You cannot gradle build "release" as the signing keys are not part of the repository.

Do not try to upgrade the kotlin version in "gradle/libs.versions.toml", it will throw a lot of warnings and errors.