Slackbot
05/11/2023, 5:52 PMVampire
05/11/2023, 6:23 PMgradle.properties
file, then I have no such problems.Shaun Reich
05/11/2023, 6:44 PMShaun Reich
05/11/2023, 6:45 PMShaun Reich
05/11/2023, 6:59 PMVampire
05/11/2023, 7:24 PMaxion-release
plugin calculates this version on being applied, make sure it is applied before that plugin, or actually apply it in that plugin before using the calculated version.
I - personally - would say don't use it, as I hate dynamically calculated versions that depend on the version control being present.
This prevents proper reproducible and VCS independent builds. You cannot build a source export, you cannot build in a Git worktree if JGit is used for Git access, .....
Other than that, you can of course use the good old - but very bad - afterEvaluate { ... }
so that eventually the version was maybe already set.Shaun Reich
05/11/2023, 7:51 PMVampire
05/11/2023, 7:53 PMShaun Reich
05/11/2023, 8:12 PMVampire
05/11/2023, 8:13 PMafterEvaluate
and cross fingers. 🙂Shaun Reich
05/11/2023, 8:20 PM