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 {
|
2022-01-12 01:28:15 +01:00
|
|
|
id 'java-library'
|
2020-11-26 11:00:48 +01:00
|
|
|
}
|
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
group 'org.pgpainless'
|
2021-06-24 19:10:48 +02:00
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2022-06-07 08:55:10 +02:00
|
|
|
mavenLocal()
|
2021-06-24 19:10:48 +02:00
|
|
|
}
|
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
dependencies {
|
2022-06-07 08:55:10 +02:00
|
|
|
implementation 'org.jetbrains:annotations:20.1.0'
|
2021-10-29 20:28:14 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
2023-07-11 23:15:22 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
2021-10-29 20:28:14 +02:00
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
2021-08-25 12:39:31 +02:00
|
|
|
|
2021-10-29 20:28:14 +02:00
|
|
|
// Logging
|
|
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
2021-09-17 18:16:58 +02:00
|
|
|
|
2023-01-31 19:03:11 +01: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"))
|
2022-01-12 01:28:15 +01:00
|
|
|
api "org.pgpainless:sop-java:$sopJavaVersion"
|
2020-11-26 11:00:48 +01:00
|
|
|
}
|
2020-12-06 16:52:08 +01:00
|
|
|
|
2021-07-15 16:55:13 +02:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2023-01-31 19:03:11 +01:00
|
|
|
environment("test.implementation", "sop.testsuite.pgpainless.PGPainlessSopInstanceFactory")
|
2021-07-20 09:55:24 +02:00
|
|
|
}
|