pgpainless/pgpainless-sop/build.gradle

35 lines
956 B
Groovy
Raw Normal View History

2021-10-07 15:48:52 +02:00
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
2020-11-26 11:00:48 +01:00
plugins {
id 'java-library'
2020-11-26 11:00:48 +01:00
}
group 'org.pgpainless'
repositories {
mavenCentral()
2022-06-07 08:55:10 +02:00
mavenLocal()
}
dependencies {
2022-06-07 08:55:10 +02:00
implementation 'org.jetbrains:annotations:20.1.0'
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
2021-08-25 12:39:31 +02:00
// Logging
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
2021-09-17 18:16:58 +02:00
// Depend on "shared" sop-java test suite (fixtures are turned into tests by inheritance inside test sources)
testImplementation(testFixtures("org.pgpainless:sop-java:$sopJavaVersion"))
2021-09-17 18:16:58 +02:00
implementation(project(":pgpainless-core"))
api "org.pgpainless:sop-java:$sopJavaVersion"
2020-11-26 11:00:48 +01:00
}
2020-12-06 16:52:08 +01:00
test {
useJUnitPlatform()
environment("test.implementation", "sop.testsuite.pgpainless.PGPainlessSopInstanceFactory")
}