fix version number

This commit is contained in:
Anthony Stirling 2024-06-06 22:38:22 +01:00
parent 7b08d98232
commit 6606850e4a

View file

@ -178,7 +178,7 @@ compileJava {
options.compilerArgs << '-parameters'
}
tasks.register('writeVersion') {
task writeVersion {
def propsFile = file('src/main/resources/version.properties')
def props = new Properties()
props.setProperty('version', version)
@ -208,6 +208,6 @@ tasks.named('test') {
useJUnitPlatform()
}
tasks.register('printVersion') {
task printVersion {
println project.version
}