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-03-01 15:39:02 +01:00
|
|
|
signature "net.sf.androidscents.signature:android-api-level-${minAndroidSdk}:2.3.3_r2@signature"
|
|
|
|
|
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-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-04-26 01:38:13 +02:00
|
|
|
// Certificate store
|
2022-03-01 15:19:01 +01:00
|
|
|
api project(":pgp-certificate-store")
|
|
|
|
}
|
|
|
|
|
2022-03-01 15:39:02 +01:00
|
|
|
animalsniffer {
|
|
|
|
sourceSets = [sourceSets.main]
|
|
|
|
}
|
|
|
|
|
2022-03-01 15:19:01 +01:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|