mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-06-30 23:36:44 +02:00
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.
30 lines
638 B
Groovy
30 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()
|
|
}
|