Only dump ASM classes during tests if according property is passed to Gradle
This commit is contained in:
parent
a6922ab9d8
commit
e38b2e1c53
@ -55,6 +55,7 @@ tasks.dokkaHtml {
|
|||||||
dependsOn(tasks.build)
|
dependsOn(tasks.build)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (System.getProperty("space.kscience.kmath.ast.dump.generated.classes") == "1")
|
||||||
tasks.jvmTest {
|
tasks.jvmTest {
|
||||||
jvmArgs = (jvmArgs ?: emptyList()) + listOf("-Dspace.kscience.kmath.ast.dump.generated.classes=1")
|
jvmArgs = (jvmArgs ?: emptyList()) + listOf("-Dspace.kscience.kmath.ast.dump.generated.classes=1")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user