Build: Add NoDebugJavaExec to filter out debugger arguments added by Idea

Workaround for IDEA-200192:
IDEA makes all JavaExec tasks not up-to-date and attaches debugger making our breakpoints trigger during irrelevant task execution
This commit is contained in:
Vyacheslav Gerasimov
2018-12-04 18:59:39 +03:00
parent f2e27da5bb
commit 508fe28781
5 changed files with 22 additions and 85 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ val clean by tasks.getting {
}
}
val serialize by tasks.creating(UtilityJavaExec::class) {
val serialize by tasks.creating(NoDebugJavaExec::class) {
val outDir = builtinsSerialized
val inDirs = arrayOf(builtinsSrc, builtinsNative)
inDirs.forEach { inputs.dir(it) }