Moved from "project.getRuntimeClasspathElements()" to "project.getCompileClasspathElements()" to match "requiresDependencyResolution = COMPILE_PLUS_RUNTIME"