-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
44 lines (39 loc) · 1.18 KB
/
settings.gradle.kts
File metadata and controls
44 lines (39 loc) · 1.18 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
plugins {
id("org.jetbrains.kotlinx.kover.aggregation") version "0.9.4"
}
rootProject.name = "exposed-vertx-sql-client"
include("core")
include("crud")
include("crud-with-mapper")
include("postgresql")
include("mysql")
include("oracle")
include("mssql")
include("integrated")
fun ProjectDescriptor.setProjectConcatenatedNames(prefix: String) {
name = prefix + name
for (child in children)
child.setProjectConcatenatedNames("$name-")
}
rootProject.setProjectConcatenatedNames("")
// for Dokka
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}
// https://kotlin.github.io/kotlinx-kover/gradle-plugin/aggregated.html
kover {
enableCoverage()
reports {
excludedProjects.add(":exposed-vertx-sql-client-integrated")
/*
Not all deprecated APIs are excluded from test coverage,
for example, deprecated member methods such as the deprecated `DatabaseClient.executeBatchQuery` overload seems to be included,
which seems to be a limitation of Kover.
*/
// Excluding "java.lang.Deprecated" too does not help.
excludesAnnotatedBy.add("kotlin.Deprecated")
}
}