mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
The repo is private, so each run is billed. Three caches now carry a rebuild: Gradle's own through setup-gradle (dependencies, build cache, configuration cache), the CMake/ninja tree keyed on the C sources and the NDK, and the two cross-compiled preloads — the last of which also skips installing the cross toolchain, since a run that changes only Kotlin has no reason to touch a C compiler. Superseded pushes are cancelled, documentation pushes do not build, and the apk is stored rather than recompressed. The preload assertions moved from the cross binutils to readelf, which reads any ELF whatever the host, so they keep running on a cache hit. Credits name The412Banner and maxjivi05: the runtime under all of this is Max's gamescope work from WinNative.
14 lines
671 B
Properties
14 lines
671 B
Properties
org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
|
|
# CI is the only thing that builds this repo and its minutes are billed, so every cache Gradle
|
|
# offers is on: task outputs are reused across runs from the cache the CI action restores, the
|
|
# configuration phase is skipped when nothing about the build scripts changed, and independent
|
|
# tasks run together.
|
|
org.gradle.caching=true
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.parallel=true
|
|
android.useAndroidX=true
|
|
android.nonTransitiveRClass=true
|
|
# The NDK the compositor is built with. CI passes the one the runner has installed
|
|
# (-PndkVersion=…); this is the fallback for a local build.
|
|
ndkVersion=27.0.12077973
|