mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-05 03:55:58 +01:00
34 lines
956 B
Groovy
34 lines
956 B
Groovy
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
group 'org.pgpainless'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.jetbrains:annotations:20.1.0'
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
// Logging
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
// Depend on "shared" sop-java test suite (fixtures are turned into tests by inheritance inside test sources)
|
|
testImplementation(testFixtures("org.pgpainless:sop-java:$sopJavaVersion"))
|
|
|
|
implementation(project(":pgpainless-core"))
|
|
api "org.pgpainless:sop-java:$sopJavaVersion"
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
environment("test.implementation", "sop.testsuite.pgpainless.PGPainlessSopInstanceFactory")
|
|
}
|