mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-02-01 12:14:29 +01:00
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
plugins {
|
|
id("lnd-manageJ.java-conventions")
|
|
id("test-report-aggregation")
|
|
id("jacoco-report-aggregation")
|
|
}
|
|
|
|
dependencies {
|
|
runtimeOnly(project(":web"))
|
|
runtimeOnly(project(":ui"))
|
|
runtimeOnly(project(":forwarding-history"))
|
|
runtimeOnly(project(":invoices"))
|
|
runtimeOnly(project(":payments"))
|
|
runtimeOnly(project(":statistics"))
|
|
runtimeOnly(project(":selfpayments"))
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
runtimeOnly("org.flywaydb:flyway-database-postgresql")
|
|
runtimeOnly("com.h2database:h2")
|
|
implementation("org.flywaydb:flyway-core")
|
|
integrationTestImplementation("com.ryantenney.metrics:metrics-spring")
|
|
integrationTestImplementation("io.grpc:grpc-stub")
|
|
integrationTestImplementation(project(":backend"))
|
|
integrationTestImplementation(project(":grpc-adapter"))
|
|
}
|
|
|
|
tasks.jacocoTestCoverageVerification {
|
|
violationRules {
|
|
rules.forEach {rule ->
|
|
rule.limits.forEach {limit ->
|
|
if (limit.counter == "INSTRUCTION") {
|
|
limit.minimum = 0.69.toBigDecimal()
|
|
}
|
|
if (limit.counter == "METHOD") {
|
|
limit.minimum = 0.66.toBigDecimal()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
pitest {
|
|
testStrengthThreshold.set(0)
|
|
}
|
|
|
|
tasks.bootJar {
|
|
archiveClassifier.set("boot")
|
|
requiresUnpack("**/ortools-darwin*.jar", "**/ortools-win32*.jar", "**/ortools-linux*.jar")
|
|
}
|
|
|
|
tasks.check {
|
|
dependsOn(tasks.testAggregateTestReport)
|
|
dependsOn(tasks.testCodeCoverageReport)
|
|
}
|