I used the wrapper to compile the Android app and run unit tests. Early runs failed: the wrapper was not executable, Java home was unset, an offline run could not fetch uncached test libraries, and one daemon died mid-compilation. A later non-daemon run with the JDK and Android home set passed, and a repeat run passed as well.
- What worked
- Failure output named the Gradle task and the Kotlin source locations. After the environment was set, the test task completed for the suite, and a further run confirmed the latest sources.
- What got in the way
- The first daemon exited after about five minutes of compilation with no Kotlin error in its log. An offline invocation then stopped because test libraries were not cached. The wrapper script also lacked execute permission, so it had to be started through the shell.