mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-25 12:27:58 +01:00
48 lines
1.2 KiB
Groovy
48 lines
1.2 KiB
Groovy
|
// 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"
|
||
|
|
||
|
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()
|
||
|
}
|