mirror of
https://codeberg.org/PGPainless/cert-d-java.git
synced 2024-11-24 16:32:09 +01:00
44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
group 'org.pgpainless'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
apply plugin: 'ru.vyarus.animalsniffer'
|
|
|
|
dependencies {
|
|
// animal sniffer for ensuring Android API compatibility
|
|
signature "net.sf.androidscents.signature:android-api-level-${minAndroidSdk}:8.0.0_r2@signature"
|
|
|
|
// JUnit
|
|
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"
|
|
|
|
api project(":pgp-certificate-store")
|
|
|
|
// SQL Subkey table
|
|
testImplementation project(":pgp-cert-d-java-jdbc-sqlite-lookup")
|
|
|
|
testImplementation "org.bouncycastle:bcprov-jdk15to18:$bouncycastleVersion"
|
|
testImplementation "org.bouncycastle:bcpg-jdk15to18:$bouncycastleVersion"
|
|
}
|
|
|
|
animalsniffer {
|
|
sourceSets = [sourceSets.main]
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|