Files
lnd-manageJ/application/build.gradle
Carsten Otto 1d8faed912 add support for h2
fixes #3
2022-07-09 11:08:37 +02:00

51 lines
1.4 KiB
Groovy

plugins {
id 'lnd-manageJ.java-conventions'
}
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-core'
runtimeOnly '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.12
}
if (limit.counter == 'CLASS') {
limit.minimum = 0.6
}
if (limit.counter == 'METHOD') {
limit.minimum = 0.11
}
}
}
}
}
pitest {
testStrengthThreshold = 0
}
bootJar {
requiresUnpack '**/ortools-darwin*.jar', '**/ortools-win32*.jar', '**/ortools-linux*.jar'
}