forked from ExpediaGroup/graphql-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
36 lines (33 loc) · 1.22 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
description = "Code-only GraphQL schema generation for Kotlin"
val classGraphVersion: String by project
val graphQLJavaVersion: String by project
val jacksonVersion: String by project
val kotlinCoroutinesVersion: String by project
val rxjavaVersion: String by project
val junitVersion: String by project
dependencies {
api("com.graphql-java:graphql-java:$graphQLJavaVersion")
api("org.jetbrains.kotlinx:kotlinx-coroutines-reactive:$kotlinCoroutinesVersion")
api("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion")
implementation("io.github.classgraph:classgraph:$classGraphVersion")
testImplementation("io.reactivex.rxjava3:rxjava:$rxjavaVersion")
testImplementation("org.junit.jupiter:junit-jupiter-params:$junitVersion")
}
tasks {
jacocoTestCoverageVerification {
violationRules {
rule {
limit {
counter = "INSTRUCTION"
value = "COVEREDRATIO"
minimum = "0.95".toBigDecimal()
}
limit {
counter = "BRANCH"
value = "COVEREDRATIO"
minimum = "0.94".toBigDecimal()
}
}
}
}
}