mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-23 04:42:06 +01:00
Paul Schaub
a9a61bc799
Logback-classic is now a test dependency and is additionally declared as OPTIONAL runtime dependency. Applications that don't want to use logback can now easily disable it by not explicitly depending on it.
29 lines
638 B
Groovy
29 lines
638 B
Groovy
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group 'org.pgpainless'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
// Logging
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
runtime "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
implementation(project(":pgpainless-core"))
|
|
implementation(project(":sop-java"))
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|