Disable checkUnusedConstraints in palantir's plugin (bug).

This commit is contained in:
Dawid Weiss 2020-01-09 17:05:02 +01:00
parent 0166e89dba
commit b32db8ee6a
3 changed files with 9 additions and 1 deletions

View File

@ -16,10 +16,12 @@ allprojects {
// if the build file is incorrectly written and evaluates something
// eagerly).
apply from: file('gradle/generate-defaults.gradle')
// Bug fixes, workarounds.
apply from: file('gradle/bugs/palantir.gradle')
// Set up defaults and configure aspects for certain modules or functionality
// (java, tests)
apply from: file('gradle/generate-defaults.gradle')
apply from: file('gradle/defaults.gradle')
apply from: file('gradle/defaults-java.gradle')
apply from: file('gradle/testing/defaults-tests.gradle')

View File

@ -0,0 +1,5 @@
// https://github.com/palantir/gradle-consistent-versions/pull/365
configure(rootProject.tasks.matching {it.name == "checkUnusedConstraints" }) { task ->
task.enabled = false
}

View File

@ -36,6 +36,7 @@ if (!hasDefaults) {
"org.gradle.jvmargs=-Xmx1g",
"org.gradle.parallel=true",
"org.gradle.priority=normal",
"org.gradle.warning.mode=none", // Silence gradle warnings. We'll deal with them when we upgrade the wrapper.
"",
"# Maximum number of parallel gradle workers.",
"org.gradle.workers.max=${maxWorkers}",