This code seems to resolve the buildDir too early. When jf audit runs my gradle build, it resolves the build directory to <project>/build, whereas I've set it in my project to /target/build, as "build" was actually a directory created many years ago and can't be changed.
Perhaps better yet to store this variable as a DirectoryProperty as an input for the task, and let it dynamically be resolved to "target/build" as I have configured to be in my project (and run during afterEvaluate)?
https://github.com/jfrog/gradle-dep-tree/blob/9f4dc78495ab38b42fab0f26a344f022aa979379/src/main/java/com/jfrog/tasks/GenerateDepTrees.java#L35
This code seems to resolve the buildDir too early. When/target/build, as "build" was actually a directory created many years ago and can't be changed.
jf audit
runs my gradle build, it resolves the build directory to<project>/build
, whereas I've set it in my project toPerhaps better yet to store this variable as a DirectoryProperty as an input for the task, and let it dynamically be resolved to "target/build" as I have configured to be in my project (and run during afterEvaluate)?