Move the dummy source set from play to license gradle scripts so we don't need to do overrides internally (#713)

This commit is contained in:
Mars Lan 2017-08-28 16:31:41 -07:00 committed by GitHub
parent 90a5c114d2
commit b715df4e91
2 changed files with 11 additions and 9 deletions

View File

@ -14,4 +14,15 @@ subprojects {
excludes(["**/*.json", "**/*.avsc", "**/*.avro", "**/*.conf", "**/*.yaml", "**/*.xml"])
excludes(["**/*.txt", "**/*.csv", "**/*.md"])
}
plugins.withType(PlayPlugin) {
// Manually define a dummy sourceSet for license checking
sourceSets {
license {
java {
srcDirs = ['app', 'test']
}
}
}
}
}

View File

@ -4,15 +4,6 @@ tasks.withType(PlayRun) {
httpPort = project.ext.httpPort
}
// Manually define a sourceSet for license checking
sourceSets {
license {
java {
srcDirs = ['app', 'test']
}
}
}
model {
components {
play {