mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-13 12:10:23 +00:00
30 lines
754 B
Groovy
30 lines
754 B
Groovy
apply plugin: 'license'
|
|
|
|
ext.licenseFile = file('wherehows-docs/license_header.txt')
|
|
|
|
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"])
|
|
excludes(["**/*.txt", "**/*.csv", "**/*.md", "**/*.job", "**/*.properties", "**/*.template"])
|
|
excludes(["**/com/linkedin/events/**", "**/gobblin/metrics/**"])
|
|
}
|
|
|
|
plugins.withType(PlayPlugin) {
|
|
// Manually define a dummy sourceSet for license checking
|
|
sourceSets {
|
|
license {
|
|
java {
|
|
srcDirs = ['app', 'test']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|