-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle.kts
64 lines (53 loc) · 1.23 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
59
60
61
62
63
64
buildscript {
repositories {
google()
mavenCentral()
maven(url = "https://plugins.gradle.org/m2/")
}
dependencies {
classpath(libs.kotlin.gradle.plugin)
classpath(libs.pitest.gradle.plugin)
classpath(libs.binary.compat.validator)
classpath(libs.maven.publish.plugin)
classpath(libs.dokka.gradle.plugin)
// examples
classpath(libs.android.gradle.plugin)
classpath(libs.kotlin.serialization)
}
}
plugins {
jacoco
alias(libs.plugins.ktlint)
`maven-publish`
signing
}
// ---- api-validation --- //
apply(plugin = "binary-compatibility-validator")
configure<kotlinx.validation.ApiValidationExtension> {
ignoredProjects.addAll(
listOf(
"kotlin-counter",
"android-counter",
),
)
}
// ---- end api-validation --- //
// ---- jacoco --- //
subprojects {
configurations.all {
resolutionStrategy {
eachDependency {
if (requested.group == "org.jacoco") {
useVersion("0.8.7")
}
}
}
}
}
// ---- end jacoco --- //
allprojects {
repositories {
google()
mavenCentral()
}
}