2023-07-14 17:42:47 +02:00
|
|
|
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
|
|
|
id 'java-test-fixtures'
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
|
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.pgpainless'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Kotlin
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
|
|
// JUnit
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
|
|
|
|
|
2023-07-17 16:43:35 +02:00
|
|
|
testImplementation project(":pgpainless-wot-cli")
|
|
|
|
|
2023-07-14 17:42:47 +02:00
|
|
|
testFixturesImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
|
|
testFixturesImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
|
|
|
testFixturesRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
|
|
|
testFixturesApi(project(":pgpainless-wot"))
|
|
|
|
|
|
|
|
// Logging
|
|
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
|
|
|
|
api(project(":pgpainless-wot"))
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|