-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
44 lines (36 loc) · 1.13 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
plugins {
kotlin("multiplatform") apply false
kotlin("plugin.serialization") apply false
kotlin("plugin.allopen") apply false
id("io.quarkus") apply false
kotlin("android") apply false
id("com.android.application") apply false version "7.2.2"
id("com.android.library") apply false version "7.2.2"
id("org.jetbrains.compose") apply false
id("org.openjfx.javafxplugin") apply false version "0.0.10"
}
//gradle.taskGraph.whenReady {
// if (hasTask(":lib:build")) {
// allTasks.forEach {
// if (it.project.name == "web") {
// it.enabled = false
// }
// }
// }
//}
gradle.taskGraph.whenReady {
println(
"${"Project".padEnd(16)} | ${"Task".padEnd(32)} | ${
"Enabled".padEnd(
16
)
} | ${"Class".padEnd(16)}"
)
allTasks.forEach {
val project = it.project.name.padEnd(16)
val enabled = it.enabled.toString().padEnd(16)
val jclass = it.javaClass.simpleName.padEnd(16)
val task = it.name.padEnd(32)
println("$project | $task | $enabled | $jclass")
}
}