-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
58 lines (54 loc) · 1.98 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
}
dependencies {
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7")
}
configurations.classpath {
resolutionStrategy {
force(
"com.pinterest.ktlint:ktlint-rule-engine:1.2.1",
"com.pinterest.ktlint:ktlint-rule-engine-core:1.2.1",
"com.pinterest.ktlint:ktlint-cli-reporter-core:1.2.1",
"com.pinterest.ktlint:ktlint-cli-reporter-checkstyle:1.2.1",
"com.pinterest.ktlint:ktlint-cli-reporter-json:1.2.1",
"com.pinterest.ktlint:ktlint-cli-reporter-html:1.2.1",
"com.pinterest.ktlint:ktlint-cli-reporter-plain:1.2.1",
"com.pinterest.ktlint:ktlint-cli-reporter-sarif:1.2.1",
"com.pinterest.ktlint:ktlint-ruleset-standard:1.2.1"
)
}
}
}
plugins {
id("com.android.application") version "8.3.2" apply false
id("com.android.library") version "8.3.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.23" apply false
id("org.jmailen.kotlinter") version "4.3.0" apply false
id("io.gitlab.arturbosch.detekt") version "1.23.6" apply false
// Related: https://github.com/NeoTech-Software/Android-Root-Coverage-Plugin?tab=readme-ov-file#4-compatibility
id("nl.neotech.plugin.rootcoverage") version "1.8.0"
}
tasks.create("clean") {
delete(rootProject.layout.buildDirectory)
}
rootCoverage {
excludes = listOf(
// Android
"**/R.class",
"**/R\$*.class",
"**/BuildConfig.*",
"**/Manifest*.*",
"**/*_Impl*",
"**/Fragment*Args.*",
"**/Fragment*Args\$*",
"**/Fragment*Directions.*",
"**/Fragment*Directions\$*",
"**/*Directions\$*.*",
"**/databinding/**"
)
generateXml = true
executeAndroidTests = false
}