2024-12-21 14:49:45 +01:00
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
|
2022-01-11 13:46:05 +01:00
|
|
|
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-12-21 14:49:45 +01:00
|
|
|
import org.apache.tools.ant.filters.*
|
2022-01-11 13:46:05 +01:00
|
|
|
plugins {
|
2022-01-12 01:26:31 +01:00
|
|
|
id 'java-library'
|
2022-01-11 13:46:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.pgpainless'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
2023-01-31 18:20:27 +01:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
2022-01-11 13:46:05 +01:00
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
2024-12-13 16:41:01 +01:00
|
|
|
testImplementation(project(":sop-java-testfixtures"))
|
2023-04-27 12:44:40 +02:00
|
|
|
|
|
|
|
// @Nullable, @Nonnull annotations
|
|
|
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
|
|
|
|
2022-01-11 13:46:05 +01:00
|
|
|
}
|
|
|
|
|
2024-12-21 14:49:45 +01:00
|
|
|
processResources {
|
|
|
|
filter ReplaceTokens, tokens: [
|
|
|
|
"project.version": project.version.toString()
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2022-01-11 13:46:05 +01:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2023-01-31 18:20:27 +01:00
|
|
|
}
|