mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
Disabled allWarningsAsErrors
for compilation and failFast
for tests locally, after TC was updated to override them to enabled. (#3838)
This commit is contained in:
parent
bcfadfeebf
commit
57e188a5a8
@ -171,7 +171,7 @@ allprojects {
|
||||
jvmTarget = "1.8"
|
||||
javaParameters = true // Useful for reflection.
|
||||
freeCompilerArgs = ['-Xjvm-default=compatibility']
|
||||
allWarningsAsErrors = project.hasProperty('compilation.allWarningsAsErrors') ? project.property('compilation.allWarningsAsErrors').toBoolean() : true
|
||||
allWarningsAsErrors = project.hasProperty('compilation.allWarningsAsErrors') ? project.property('compilation.allWarningsAsErrors').toBoolean() : false
|
||||
}
|
||||
}
|
||||
|
||||
@ -187,7 +187,7 @@ allprojects {
|
||||
}
|
||||
|
||||
tasks.withType(Test) {
|
||||
failFast = project.hasProperty('tests.failFast') ? project.property('tests.failFast').toBoolean() : true
|
||||
failFast = project.hasProperty('tests.failFast') ? project.property('tests.failFast').toBoolean() : false
|
||||
|
||||
// Prevent the project from creating temporary files outside of the build directory.
|
||||
systemProperty 'java.io.tmpdir', buildDir.absolutePath
|
||||
|
Loading…
x
Reference in New Issue
Block a user