computeOutputFile().writeText(""" package ${packageName.get()}; public class ${className.get()} { public final static long Something = ${value.get()}; } """.trimIndent()) } }
Build information is sent to Gradle’s server ◦ You can delete it after • Will help with: ◦ Non lazy task configuration (or lazy tasks that are force configured) ◦ Dependencies resolved are configuration time
/ memory usage • build with --rerun-tasks • kill Gradle daemon in between runs (gradlew --stop) • run the most common “big” tasks • use typical developer computer (CPU / RAM)