diff --git a/build.gradle b/build.gradle index 87ae0326b1..1710ae0987 100644 --- a/build.gradle +++ b/build.gradle @@ -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