-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle.kts
81 lines (75 loc) · 2.73 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("app.cash.licensee:licensee-gradle-plugin:1.7.0")
}
}
subprojects {
apply(plugin = "app.cash.licensee")
configure<app.cash.licensee.LicenseeExtension> {
allow("Apache-2.0")
allow("MIT")
allow("BSD-2-Clause")
allowDependency("org.bouncycastle", "bcprov-jdk15on", "1.70") {
"MIT License"
}
allowDependency("org.ow2.asm", "asm", "9.4") {
"3-Clause BSD License"
}
allowDependency("org.ow2.asm", "asm-analysis", "9.4")
allowDependency("org.ow2.asm", "asm-commons", "9.4")
allowDependency("org.ow2.asm", "asm-tree", "9.4")
allowDependency("org.ow2.asm", "asm-util", "9.4")
allowDependency("com.ibm.icu", "icu4j", "70.1")
allowUrl("http://aws.amazon.com/apache2.0")
allowUrl("https://developer.android.com/studio/terms.html")
ignoreDependencies("javax.annotation", "javax.annotation-api") {
"Transitive dependency for androidx.test.espresso:espresso-core"
}
ignoreDependencies("org.junit", "junit-bom") {
because("Unit Testing Dependency")
}
ignoreDependencies("org.junit", "jupiter") {
because("Unit Testing Dependency")
}
ignoreDependencies("org.junit.jupiter", "junit-jupiter") {
because("Unit Testing Dependency")
}
ignoreDependencies("org.junit.jupiter", "junit-jupiter-params") {
because("Unit Testing Dependency")
}
ignoreDependencies("org.junit", "junit-jupiter-params") {
because("Unit Testing Dependency")
}
ignoreDependencies("org.junit.platform", "junit-platform-commons") {
because("Unit Testing Dependency")
}
ignoreDependencies("org.junit.platform", "junit-platform-engine") {
because("Unit Testing Dependency")
}
ignoreDependencies("junit", "junit") {
because("Unit Testing Dependency")
}
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.binary.compatibility) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kover)
alias(libs.plugins.ktlint) apply false
}
tasks.register<Delete>("clean").configure {
delete(rootProject.buildDir)
}
dependencies {
// Generate combined coverage report
kover(project(":authenticator"))
kover(project(":liveness"))
}