mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Extract pgpainless-sop-version property via resource filtering
This commit is contained in:
parent
a43ae43722
commit
5018386318
4 changed files with 10 additions and 22 deletions
|
@ -1,7 +1,7 @@
|
|||
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import org.apache.tools.ant.filters.*
|
||||
plugins {
|
||||
id 'java-library'
|
||||
}
|
||||
|
@ -30,6 +30,12 @@ dependencies {
|
|||
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||
}
|
||||
|
||||
processResources {
|
||||
filter ReplaceTokens, tokens: [
|
||||
"project.version": project.version.toString()
|
||||
]
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
environment("test.implementation", "sop.testsuite.pgpainless.PGPainlessSopInstanceFactory")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue