mirror of
https://codeberg.org/PGPainless/cert-d-pgpainless.git
synced 2024-11-14 12:02:05 +01:00
46 lines
1.2 KiB
Groovy
46 lines
1.2 KiB
Groovy
// SPDX-FileCopyrightText: 2022 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}:2.3.3_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"
|
|
|
|
// Mockito for mocking during tests
|
|
testImplementation "org.mockito:mockito-core:$mockitoVersion"
|
|
|
|
// Logging
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
// PGPainless for OpenPGP
|
|
api "org.pgpainless:pgpainless-core:$pgpainlessVersion"
|
|
|
|
// pgp.cert.d
|
|
api "org.pgpainless:pgp-cert-d-java:$pgpCertDJavaVersion"
|
|
api "org.pgpainless:pgp-certificate-store:$pgpCertDJavaVersion"
|
|
}
|
|
|
|
animalsniffer {
|
|
sourceSets = [sourceSets.main]
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|