Write sop-java version to sop-java-version.properties

This commit is contained in:
Paul Schaub 2024-12-21 14:49:45 +01:00
parent b4ce3dce16
commit efe973fd2b
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 10 additions and 0 deletions

View file

@ -1,7 +1,10 @@
import org.apache.tools.ant.filters.ReplaceTokens
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
import org.apache.tools.ant.filters.*
plugins {
id 'java-library'
}
@ -23,6 +26,12 @@ dependencies {
}
processResources {
filter ReplaceTokens, tokens: [
"project.version": project.version.toString()
]
}
test {
useJUnitPlatform()
}

View file

@ -0,0 +1 @@
sop-java-version=@project.version@