mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-16 01:12:05 +01:00
35 lines
1 KiB
Groovy
35 lines
1 KiB
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"
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:$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")
|
|
}
|