-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (30 loc) · 815 Bytes
/
build.gradle
File metadata and controls
33 lines (30 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
task stage {
dependsOn ':clean'
dependsOn ':kernel:clean'
dependsOn ':client:clean'
dependsOn ':server:clean'
dependsOn ':kernel:build'
dependsOn ':client:build'
dependsOn ':server:build'
doLast() {
copy {
from 'server/build/libs'
into 'build'
}
}
}
tasks.getByPath(':kernel:clean').mustRunAfter ':clean'
tasks.getByPath(':client:clean').mustRunAfter ':kernel:clean'
tasks.getByPath(':server:clean').mustRunAfter ':client:clean'
tasks.getByPath(':kernel:build').mustRunAfter ':server:clean'
tasks.getByPath(':client:build').mustRunAfter ':kernel:build'
tasks.getByPath(':server:build').mustRunAfter ':client:build'
task build {
dependsOn 'stage'
dependsOn ':kernel:doc'
}
task clean {
doLast {
delete 'build'
}
}