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'] } } } } }