We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae72411 commit f476f12Copy full SHA for f476f12
buildSrc/src/main/java/org/springframework/build/hint/RuntimeHintsAgentPlugin.java
@@ -64,7 +64,7 @@ public void apply(Project project) {
64
test.setClasspath(jvmTestSuite.getSources().getRuntimeClasspath());
65
test.getJvmArgumentProviders().add(createRuntimeHintsAgentArgumentProvider(project, agentExtension));
66
});
67
- project.getTasks().getByName("check", task -> task.dependsOn(agentTest));
+ project.getTasks().named("check", task -> task.dependsOn(agentTest));
68
project.getDependencies().add(CONFIGURATION_NAME, project.project(":spring-core-test"));
69
70
}
0 commit comments