Skip to content

Commit

Permalink
NATT gradle script update
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMartin committed Aug 11, 2024
1 parent e58e51c commit 222f2d1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions natt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,12 @@ jar {
'Implementation-Version': version
)
}
doFirst {
// Optionally, create the directory if it does not exist
file("$buildDir/resources/main").mkdirs()
}
}

task writeVersionProperties {
doFirst {
file("$buildDir/resources/main").mkdirs()
}
doLast {
file("$buildDir/resources/main/version.properties").text = "version=${version}"
}
Expand Down

0 comments on commit 222f2d1

Please sign in to comment.