mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-09 16:03:31 +00:00
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:
parent
90a5c114d2
commit
b715df4e91
@ -14,4 +14,15 @@ subprojects {
|
|||||||
excludes(["**/*.json", "**/*.avsc", "**/*.avro", "**/*.conf", "**/*.yaml", "**/*.xml"])
|
excludes(["**/*.json", "**/*.avsc", "**/*.avro", "**/*.conf", "**/*.yaml", "**/*.xml"])
|
||||||
excludes(["**/*.txt", "**/*.csv", "**/*.md"])
|
excludes(["**/*.txt", "**/*.csv", "**/*.md"])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins.withType(PlayPlugin) {
|
||||||
|
// Manually define a dummy sourceSet for license checking
|
||||||
|
sourceSets {
|
||||||
|
license {
|
||||||
|
java {
|
||||||
|
srcDirs = ['app', 'test']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,15 +4,6 @@ tasks.withType(PlayRun) {
|
|||||||
httpPort = project.ext.httpPort
|
httpPort = project.ext.httpPort
|
||||||
}
|
}
|
||||||
|
|
||||||
// Manually define a sourceSet for license checking
|
|
||||||
sourceSets {
|
|
||||||
license {
|
|
||||||
java {
|
|
||||||
srcDirs = ['app', 'test']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
model {
|
model {
|
||||||
components {
|
components {
|
||||||
play {
|
play {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user