-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
90 lines (80 loc) · 2.89 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
tasks.register("clean") {
group = "build"
dependsOn(gradle.includedBuild("p2test").task(":p2testNested:clean"))
dependsOn(gradle.includedBuild("p2test").task(":clean"))
dependsOn(gradle.includedBuild("testGroovy").task(":clean"))
dependsOn(gradle.includedBuild("p2shared").task(":p2api:clean"))
dependsOn(gradle.includedBuild("p2shared").task(":p2impl:clean"))
dependsOn(gradle.includedBuild("p2plugin").task(":clean"))
}
tasks.register("build") {
group = "build"
dependsOn(gradle.includedBuild("p2shared").task(":p2api:build"))
dependsOn(gradle.includedBuild("p2shared").task(":p2impl:build"))
dependsOn(gradle.includedBuild("p2plugin").task(":build"))
dependsOn(gradle.includedBuild("p2test").task(":build"))
}
tasks.register("publish") {
group = "build"
dependsOn(gradle.includedBuild("p2shared").task(":p2api:publishP2apiPublicationToMavenRepository"))
dependsOn(gradle.includedBuild("p2shared").task(":p2impl:publishP2implPublicationToMavenRepository"))
dependsOn(gradle.includedBuild("p2plugin").task(":publishToMavenLocal"))
}
tasks.register("hello") {
group = "hello"
dependsOn(gradle.includedBuild("frameworkTest").task(":hello"))
}
tasks.register("p2publish") {
group = "build"
dependsOn(gradle.includedBuild("p2test").task(":p2publish"))
}
tasks.register("modelTest") {
group = "build"
dependsOn(gradle.includedBuild("p2test").task(":p2testNested:model"))
}
tasks.register("modelApi") {
group = "build"
dependsOn(gradle.includedBuild("p2shared").task(":p2api:model"))
}
tasks.register("modelPlugin") {
group = "build"
dependsOn(gradle.includedBuild("p2plugin").task(":model"))
}
tasks.register("publishPlugin") {
group = "build"
dependsOn(gradle.includedBuild("p2plugin").task(":publishPlugins"))
}
tasks.register("publishPluginLocal") {
group = "build"
dependsOn(gradle.includedBuild("p2plugin").task(":publish"))
}
tasks.register("depP2Impl") {
group = "build"
dependsOn(gradle.includedBuild("p2shared").task(":p2impl:dependencies"))
}
tasks.register("depPlugin") {
group = "build"
dependsOn(gradle.includedBuild("p2plugin").task(":dependencies"))
}
tasks.register("depTest") {
group = "build"
dependsOn(gradle.includedBuild("p2test").task(":dependencies"))
}
tasks.register("buildTest") {
group = "build"
dependsOn(gradle.includedBuild("p2test").task(":build"))
}
tasks.register("depGroovy") {
group = "build"
dependsOn(gradle.includedBuild("testGroovy").task(":dependencies"))
}
tasks.register("modelGroovy") {
group = "build"
dependsOn(gradle.includedBuild("testGroovy").task(":model"))
}
tasks.register("buildGroovy") {
group = "build"
dependsOn(gradle.includedBuild("testGroovy").task(":build"))
dependsOn(gradle.includedBuild("testGroovy").task(":p2Publish"))
dependsOn(gradle.includedBuild("testGroovy").task(":hello"))
}