wkd-java/wkd-java-cli/build.gradle

42 lines
993 B
Groovy
Raw Normal View History

2022-02-21 11:51:30 +01:00
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
plugins {
id 'application'
}
group 'org.pgpainless'
repositories {
mavenCentral()
2022-03-17 15:27:28 +01:00
mavenLocal()
2022-02-21 11:51:30 +01:00
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
2022-02-21 14:16:55 +01:00
// https://todd.ginsberg.com/post/testing-system-exit/
testImplementation 'com.ginsberg:junit5-system-exit:1.1.2'
testImplementation 'org.mockito:mockito-core:4.3.1'
2022-03-17 15:27:28 +01:00
implementation("org.pgpainless:pgpainless-cert-d:0.1.1")
2022-02-21 11:51:30 +01:00
implementation project(':wkd-java')
2022-02-21 14:16:55 +01:00
implementation "info.picocli:picocli:4.6.3"
2022-02-21 11:51:30 +01:00
// Logging
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
2022-02-21 14:16:55 +01:00
implementation 'org.slf4j:slf4j-nop:1.7.36'
testImplementation project(":wkd-test-suite")
2022-02-21 11:51:30 +01:00
}
test {
useJUnitPlatform()
}
2022-02-21 14:16:55 +01:00
application {
mainClass = 'pgp.wkd.cli.WKDCLI'
}