We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5901131 commit c92a468Copy full SHA for c92a468
gradle/java_no_deps.gradle
@@ -164,7 +164,7 @@ project.afterEvaluate {
164
def testJvmHomePath = getJavaHomePath(testJvmHome)
165
// Only change test JVM if it's not the one we are running the gradle build with
166
if (currentJavaHomePath != testJvmHomePath) {
167
- def jvmSpec = new SpecificInstallationToolchainSpec(project.getObjects(), file(testJvmHomePath))
+ def jvmSpec = new SpecificInstallationToolchainSpec(project.services.get(org.gradle.api.internal.provider.PropertyFactory), file(testJvmHomePath))
168
// The provider always says that a value is present so we need to wrap it for proper error messages
169
Provider<JavaLauncher> launcher = providers.provider {
170
try {
0 commit comments