-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
29 lines (25 loc) · 859 Bytes
/
build.gradle.kts
File metadata and controls
29 lines (25 loc) · 859 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
base
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.compose.gif.recorder) apply false
alias(libs.plugins.ktlint) apply false
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
extensions.configure<org.jlleitschuh.gradle.ktlint.KtlintExtension>("ktlint") {
android.set(true)
ignoreFailures.set(false)
}
}
tasks.register("appTest") {
group = "verification"
description = "Runs app unit tests for the demo project"
dependsOn(":app:testDebugUnitTest")
}
tasks.named("clean") {
dependsOn(":app:clean")
dependsOn(gradle.includedBuild("lib").task(":clean"))
}