Better approach to skipping license check for subprojects

Original commit: elastic/x-pack-elasticsearch@8624ab08cc
This commit is contained in:
Chris Earle 2016-05-19 02:41:03 -04:00
parent 93ca4db1ce
commit 87c085d857

View File

@ -1,5 +1,5 @@
subprojects {
plugins.withType(org.elasticsearch.gradle.test.RestTestPlugin) {
tasks.withType(org.elasticsearch.gradle.precommit.LicenseHeadersTask) {
// someone figure out what the x-plugins logic should be
project.licenseHeaders.enabled = false
}