2022-03-01 15:19:01 +01:00
|
|
|
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.pgpainless'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2022-03-01 15:39:02 +01:00
|
|
|
apply plugin: 'ru.vyarus.animalsniffer'
|
|
|
|
|
2022-03-01 15:19:01 +01:00
|
|
|
dependencies {
|
2022-04-26 01:38:13 +02:00
|
|
|
// animal sniffer for ensuring Android API compatibility
|
2022-08-24 15:00:47 +02:00
|
|
|
signature "net.sf.androidscents.signature:android-api-level-${animalsnifferSignatureVersion}@signature"
|
2022-03-01 15:39:02 +01:00
|
|
|
|
2022-04-26 01:38:13 +02:00
|
|
|
// JUnit
|
2022-03-01 15:19:01 +01:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
|
|
|
|
// Logging
|
|
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
|
2022-08-12 14:10:09 +02:00
|
|
|
api project(":pgp-certificate-store")
|
|
|
|
|
2022-04-26 01:38:13 +02:00
|
|
|
// SQL Subkey table
|
2022-03-01 15:19:01 +01:00
|
|
|
testImplementation project(":pgp-cert-d-java-jdbc-sqlite-lookup")
|
2022-08-23 15:19:01 +02:00
|
|
|
|
|
|
|
testImplementation "org.bouncycastle:bcprov-jdk15to18:$bouncycastleVersion"
|
|
|
|
testImplementation "org.bouncycastle:bcpg-jdk15to18:$bouncycastleVersion"
|
2022-03-01 15:19:01 +01:00
|
|
|
}
|
|
|
|
|
2022-03-01 15:39:02 +01:00
|
|
|
animalsniffer {
|
|
|
|
sourceSets = [sourceSets.main]
|
|
|
|
}
|
|
|
|
|
2022-03-01 15:19:01 +01:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|