fix gradle task output (zip depends on browserDistribution), add util function for filtering tasks by name
This commit is contained in:
parent
5cb9fc0a88
commit
11cca3c8c3
2 changed files with 15 additions and 5 deletions
|
|
@ -128,7 +128,7 @@ val installThemeCss by tasks.registering(Copy::class) {
|
|||
}
|
||||
|
||||
|
||||
tasks.matching { it.name == "processResources" }.configureEach {
|
||||
tasks.withName("processResources").configureEach {
|
||||
dependsOn(installThemeCss)
|
||||
}
|
||||
|
||||
|
|
@ -136,9 +136,16 @@ tasks.matching { it.name == "processResources" }.configureEach {
|
|||
val runWebMap by tasks.registering {
|
||||
group = rootProject.name
|
||||
|
||||
dependsOn(tasks.matching { it.name == "browserDevelopmentRun" })
|
||||
dependsOn(tasks.withName("browserDevelopmentRun"))
|
||||
|
||||
}
|
||||
|
||||
|
||||
tasks.zip {
|
||||
dependsOn(tasks.withName("browserDistribution"))
|
||||
}
|
||||
|
||||
|
||||
tasks.dockerComposeBuild {
|
||||
dependsOn(tasks.zip)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue