Fixed cache misses caused by absolute paths set by micronaut plugins:
MicronautTestResourcesPlugin.java: When setting testResourcesSourceSet runtimeClasspath as task inputs for Test and JavaExec tasks, they were added with absolute path. This fix changes that to relative path sensitivity while also adding a property name to improve visibility when doing build scan comparisons.
MicronautDockerPlugin.java: When setting inputs to the dockerBuildNative task, those were set using absolute path.This fix changes that to relative path sensitivity while also adding a property name to improve visibility when doing build scan comparisons.
These issues were affecting the cacheability of all users of these plugins, including the micronaut-data project.
Fixed cache misses caused by absolute paths set by micronaut plugins:
MicronautTestResourcesPlugin.java
: When setting testResourcesSourceSet runtimeClasspath as task inputs forTest
andJavaExec
tasks, they were added with absolute path. This fix changes that to relative path sensitivity while also adding a property name to improve visibility when doing build scan comparisons.MicronautDockerPlugin.java
: When setting inputs to thedockerBuildNative
task, those were set using absolute path.This fix changes that to relative path sensitivity while also adding a property name to improve visibility when doing build scan comparisons.These issues were affecting the cacheability of all users of these plugins, including the micronaut-data project.