Files
lnd-manageJ/application/build.gradle
2022-03-21 21:59:42 +01:00

45 lines
1.1 KiB
Groovy

plugins {
id 'lnd-manageJ.java-conventions'
}
dependencies {
runtimeOnly project(':web')
runtimeOnly project(':forwarding-history')
runtimeOnly project(':invoices')
runtimeOnly project(':payments')
runtimeOnly project(':statistics')
runtimeOnly project(':selfpayments')
runtimeOnly 'org.postgresql:postgresql'
integrationTestRuntimeOnly 'com.h2database:h2'
integrationTestImplementation 'com.ryantenney.metrics:metrics-spring:3.1.3'
integrationTestImplementation project(':backend')
integrationTestImplementation project(':grpc-adapter')
}
bootJar {
archiveClassifier.set('boot')
}
jacocoTestCoverageVerification {
violationRules {
rules.forEach {rule ->
rule.limits.forEach {limit ->
if (limit.counter == 'INSTRUCTION') {
limit.minimum = 0.83
}
if (limit.counter == 'METHOD') {
limit.minimum = 0.73
}
}
}
}
}
pitest {
testStrengthThreshold = 0
}
bootJar {
requiresUnpack '**/ortools-darwin*.jar', '**/ortools-win32*.jar', '**/ortools-linux*.jar'
}