cert-d-pgpainless/pgpainless-cert-d/build.gradle

47 lines
1.2 KiB
Groovy
Raw Normal View History

2022-03-01 16:29:10 +01:00
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
2022-03-01 15:53:24 +01:00
//
// SPDX-License-Identifier: Apache-2.0
plugins {
id 'java-library'
}
group 'org.pgpainless'
repositories {
mavenCentral()
}
2022-03-01 16:26:33 +01:00
apply plugin: 'ru.vyarus.animalsniffer'
2022-03-01 15:53:24 +01:00
dependencies {
2022-04-26 00:52:29 +02:00
// animal sniffer for ensuring Android API compatibility
2022-03-01 16:26:33 +01:00
signature "net.sf.androidscents.signature:android-api-level-${minAndroidSdk}:2.3.3_r2@signature"
2022-04-26 00:52:29 +02:00
// JUnit
2022-03-01 15:53:24 +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"
2022-04-26 00:52:29 +02:00
// Mockito for mocking during tests
2022-03-01 15:53:24 +01:00
testImplementation "org.mockito:mockito-core:$mockitoVersion"
// Logging
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
2022-04-26 00:52:29 +02:00
// PGPainless for OpenPGP
2022-03-01 16:26:33 +01:00
api "org.pgpainless:pgpainless-core:$pgpainlessVersion"
2022-04-26 00:52:29 +02:00
// pgp.cert.d
2022-03-01 16:26:33 +01:00
api "org.pgpainless:pgp-cert-d-java:$pgpCertDJavaVersion"
api "org.pgpainless:pgp-certificate-store:$pgpCertDJavaVersion"
2022-03-01 16:26:33 +01:00
}
animalsniffer {
sourceSets = [sourceSets.main]
2022-03-01 15:53:24 +01:00
}
test {
useJUnitPlatform()
}