Build: enable Java incremental compilation for local builds
This commit is contained in:
@@ -377,6 +377,7 @@ if (!isTeamcityBuild) {
|
|||||||
for (task in project.tasks) {
|
for (task in project.tasks) {
|
||||||
when (task) {
|
when (task) {
|
||||||
is AbstractKotlinCompile<*> -> task.incremental = true
|
is AbstractKotlinCompile<*> -> task.incremental = true
|
||||||
|
is JavaCompile -> task.options.isIncremental = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user