Slackbot
02/08/2024, 6:40 AMVampire
02/08/2024, 7:59 AMVampire
02/08/2024, 8:02 AMJavaExec
it should work. If you run the final built artifact, it will of course not work, anymore.
You should most probably instead have a resource file, for example a properties file, with a placeholder, then configure the processResources
task to expand
that placeholder and at runtime read the version from that file.Ivan Alvarado
02/08/2024, 5:21 PMVampire
02/08/2024, 5:25 PM