mirror of https://github.com/halo-dev/halo
Do not execute :ui:build when application is not building
Signed-off-by: John Niang <johnniang@foxmail.com>pull/5314/head
parent
29ec459eac
commit
0f9552d923
|
@ -83,8 +83,11 @@ tasks.register('createChecksums', Checksum) {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('processResources', ProcessResources) {
|
tasks.named('processResources', ProcessResources) {
|
||||||
from project(':ui').tasks.named('build')
|
from project(':ui').layout.buildDirectory.dir('dist')
|
||||||
into layout.buildDirectory.dir('resources/main')
|
into layout.buildDirectory.dir('resources/main')
|
||||||
|
configure {
|
||||||
|
mustRunAfter project(':ui').tasks.named('build')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('build') {
|
tasks.named('build') {
|
||||||
|
|
Loading…
Reference in New Issue