2023-06-17 15:32:57 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-06-21 15:49:18 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-17 15:32:57 +02:00
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
2023-07-09 13:05:44 +02:00
|
|
|
id 'java-test-fixtures'
|
2023-06-21 15:49:18 +02:00
|
|
|
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
|
2023-06-17 15:32:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.pgpainless'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-06-21 15:49:18 +02:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
|
|
|
2023-06-28 16:19:48 +02:00
|
|
|
// kotlin.test
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
|
|
|
|
|
2023-06-17 15:32:57 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
2023-06-25 23:19:45 +02:00
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
|
2023-06-17 15:32:57 +02:00
|
|
|
|
|
|
|
// Logging
|
2023-07-06 16:00:38 +02:00
|
|
|
api "org.slf4j:slf4j-api:$slf4jVersion"
|
2023-06-17 15:32:57 +02:00
|
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
|
|
|
|
// @Nullable, @Nonnull annotations
|
|
|
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|