forked from bisq-network/bisq2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
62 lines (56 loc) · 1.69 KB
/
build.gradle.kts
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
java
}
tasks.register("buildAll") {
group = "build"
description = "Build the entire project leaving it ready to work with."
doLast {
listOf(
"build",
":apps:seed-node-app:build",
":apps:seed-node-app:installDist",
":apps:desktop:desktop-app:build",
":apps:desktop:desktop-app:installDist",
":apps:desktop:desktop-app-launcher:generateInstallers",
// ":REPLACEME:build",
).forEach {
exec {
println("Executing Build: $it")
commandLine("./gradlew", it)
}
}
}
}
tasks.register("cleanAll") {
group = "build"
description = "Cleans the entire project."
doLast {
listOf(
":apps:seed-node-app:clean",
":apps:oracle-node-app:clean",
":apps:rest-api-app:clean",
":apps:desktop:desktop-app:clean",
":apps:desktop:desktop:clean",
":apps:desktop:desktop-app-launcher:clean",
":apps:desktop:webcam-app:clean",
":bisq-easy:clean",
":persistence:clean",
":build-logic:clean", // not really necessary
":network:clean",
":application:clean",
":wallets:clean",
"clean",
// ":REPLACEME:clean",
).forEach {
exec {
println("Executing Clean: $it")
commandLine("./gradlew", it)
}
}
}
}
group = "bisq"
extensions.findByName("buildScan")?.withGroovyBuilder {
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
setProperty("termsOfServiceAgree", "yes")
}