mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Speed up gradle compilations
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user