1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 22:32:07 +01:00
pgpainless/pgpainless-sop/build.gradle

44 lines
1.2 KiB
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 {
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$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"
implementation "com.google.code.findbugs:jsr305:3.0.2"
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")
}
// https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_modular_auto
tasks.named('jar') {
manifest {
attributes('Automatic-Module-Name': 'org.pgpainless.sop')
}
}