-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
79 lines (67 loc) · 1.93 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
79 lines (67 loc) · 1.93 KB
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
import kotlinx.kover.gradle.aggregation.settings.dsl.minBound
rootProject.name = "Foliary"
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
includeGroupByRegex("android.*")
}
}
gradlePluginPortal()
mavenCentral()
}
}
dependencyResolutionManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
includeGroupByRegex("android.*")
}
}
mavenCentral()
}
}
include(":foliary")
include(":android")
include(":desktop")
plugins {
id("org.jetbrains.kotlinx.kover.aggregation") version "0.9.9"
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
kover {
enableCoverage()
reports {
excludedClasses = listOf(
// Untestable framework code
"MainKt",
"ComposableSingletons*",
"*.ComposableSingletons*",
"*.MainActivity",
"*.generated.resources.*",
// Dependency injection
"*.FoliaryKoinApplication",
// Database setup
"*.FoliaryDatabase*",
"*.InMemoryDatabaseBuilder*",
// Logging
"*.InitSentry*",
"*.SentryLogWriter*",
// Misc,
"dev.appoutlet.foliary.core.ui.scene.*",
)
excludesAnnotatedBy = listOf("org.koin.core.annotation.Module",)
excludesInheritedFrom = listOf("dev.appoutlet.foliary.core.navigation.Navigation")
verify {
rule {
name = "Minimum coverage"
minBound(80)
}
}
}
}