2022-04-06 00:16:32 +02:00
|
|
|
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-04-05 19:33:20 +02:00
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.pgpainless'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-04-26 01:03:43 +02:00
|
|
|
// JUnit
|
2022-04-05 19:33:20 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
|
2022-04-06 13:47:37 +02:00
|
|
|
// Arrays.areEqual, Base64...
|
2022-04-26 01:06:16 +02:00
|
|
|
implementation "org.bouncycastle:bcutil-jdk15to18:$bouncycastleVersion"
|
2022-04-06 13:38:14 +02:00
|
|
|
|
2022-04-05 19:33:20 +02:00
|
|
|
// @Nonnull, @Nullable...
|
2022-04-26 01:07:04 +02:00
|
|
|
implementation "com.google.code.findbugs:jsr305:$jsrVersion"
|
2022-04-05 19:33:20 +02:00
|
|
|
|
2022-04-06 13:47:37 +02:00
|
|
|
// Lombok (@SneakyThrows...)
|
2022-04-26 01:03:54 +02:00
|
|
|
compileOnly "org.projectlombok:lombok:$lombokVersion"
|
|
|
|
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
|
|
|
|
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
|
|
|
|
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
|
2022-04-06 00:16:32 +02:00
|
|
|
|
|
|
|
// JSON
|
2022-04-26 01:04:51 +02:00
|
|
|
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonDataBindVersion"
|
2022-04-05 19:33:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|