However, my plugin is consistently failing to find my resource file. Is the buildscript classpath invisible from the plugins classpath? Because I am expecting its classloader to be one of the plugins classloader’s parents.
Thanks for any insights here,
Cheers,
Chris
P.S This example project is using Gradle 6.7.1 and Gradle’s test kit.
Could this just be a failing in the Gradle Test Kit? I am starting to suspect that the GradleRunner does not augment the plugins classpath with anything from the buildscript classpath.
I think I’ve finally managed to resolve this by wrapping my configuration file inside its own Gradle plugin. This allows me to perform magic like this: