2017-03-21 11:58:19 -07:00
|
|
|
apply plugin: 'license'
|
|
|
|
|
2017-08-22 21:32:53 -07:00
|
|
|
ext.licenseFile = file('wherehows-docs/license_header.txt')
|
2017-03-21 11:58:19 -07:00
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply plugin: 'com.github.hierynomus.license'
|
|
|
|
|
|
|
|
license {
|
|
|
|
header licenseFile
|
|
|
|
|
|
|
|
exclude "**/*.scala.html"
|
|
|
|
exclude "**/jython/requests/**"
|
|
|
|
exclude "**/pyparsing.py"
|
|
|
|
excludes(["**/*.json", "**/*.avsc", "**/*.avro", "**/*.conf", "**/*.yaml", "**/*.xml"])
|
2017-09-11 15:26:06 -07:00
|
|
|
excludes(["**/*.txt", "**/*.csv", "**/*.md", "**/*.job", "**/*.properties", "**/*.template"])
|
|
|
|
excludes(["**/com/linkedin/events/**", "**/gobblin/metrics/**"])
|
2017-03-21 11:58:19 -07:00
|
|
|
}
|
2017-08-28 16:31:41 -07:00
|
|
|
|
|
|
|
plugins.withType(PlayPlugin) {
|
|
|
|
// Manually define a dummy sourceSet for license checking
|
|
|
|
sourceSets {
|
|
|
|
license {
|
|
|
|
java {
|
|
|
|
srcDirs = ['app', 'test']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-21 11:58:19 -07:00
|
|
|
}
|