Defaulting values to true for now. (#3668)

This commit is contained in:
Michele Sollecito 2018-07-23 12:18:28 +01:00 committed by GitHub
parent 694f6bafbf
commit 94fb5a6538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ allprojects {
jvmTarget = "1.8"
javaParameters = true // Useful for reflection.
freeCompilerArgs = ['-Xjvm-default=compatibility']
allWarningsAsErrors = project.hasProperty('compilation.allWarningsAsErrors') ? project.property('compilation.allWarningsAsErrors') : false
allWarningsAsErrors = project.hasProperty('compilation.allWarningsAsErrors') ? project.property('compilation.allWarningsAsErrors').toBoolean() : true
}
}
@ -185,7 +185,7 @@ allprojects {
}
tasks.withType(Test) {
failFast = project.hasProperty('tests.failFast') ? project.property('tests.failFast') : false
failFast = project.hasProperty('tests.failFast') ? project.property('tests.failFast').toBoolean() : true
// Prevent the project from creating temporary files outside of the build directory.
systemProperty 'java.io.tmpdir', buildDir.absolutePath