Closed jpschewe closed 6 months ago
Issues still to resolve
- Gradle detected a problem with the following location: '/home/jpschewe/projects/fll-sw/working-dir/build/resources/main'. Reason: Task ':jspToJava' uses this output of task ':writeVersion' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Add the git branch to the file.
Replace the git-properties plugin. This plugin relies on jgit, which doesn't support git worktrees. I'd like to start using worktrees for some development and this plugin is preventing that from happening. After looking at what information the code displays about git and what is in the build version I have determined that only the project build version from gradle is needed, so I've written a simple task that stores that in the properties file read by
Version.java
using the same key for the build version.