Files
lnd-manageJ/application/build.gradle
2022-04-10 19:39:04 +02:00

46 lines
1.2 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 'io.grpc:grpc-stub:1.45.1'
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'
}