We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b36bbd commit 72c5556Copy full SHA for 72c5556
build.gradle.kts
@@ -1,5 +1,3 @@
1
-
2
3
plugins {
4
alias(libs.plugins.kotlin.allopen) apply false
5
alias(libs.plugins.kotlin.android) apply false
@@ -23,3 +21,18 @@ plugins {
23
21
tasks.register("clean",Delete::class){
24
22
delete(rootProject.layout.buildDirectory)
25
}
+
+tasks.register("dev") {
26
+ group = "development"
27
+ description = "Developer loop, run tests and linting"
28
29
+ val lintingTasks = subprojects.mapNotNull { it.tasks.findByName("formatKotlin") }
30
31
+ val jvmTestTasks = subprojects.mapNotNull { subproject ->
32
+ subproject.tasks.findByName("jvmTest")?.also { task ->
33
+ (task as Test).exclude("**/WehTest.class")
34
+ }
35
36
37
+ dependsOn(jvmTestTasks + lintingTasks)
38
+}
0 commit comments