Speed up gradle compilations

This commit is contained in:
Stef Tervelde
2025-07-08 12:23:05 +02:00
parent b7123906b4
commit c55e286428
@@ -34,6 +34,12 @@ class GradleService(
val active = mutableStateOf(Preferences.getBoolean("run.use_gradle"))
var sketch: Sketch? = null
set (value) {
field = value
if(value == null) return
// If the sketch is set, we start the build process to speed up the first run
startJob("build")
}
val jobs = mutableStateListOf<GradleJob>()
val workingDir = createTempDirectory()