Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
melix committed Oct 11, 2023
1 parent dc3f30b commit d882ebf
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,16 +624,15 @@ public void registerTestBinary(Project project,

// Testing part begins here. -------------------------------------------

// In future Gradle releases this becomes a proper DirectoryProperty
File testResultsDir = GradleUtils.getJavaPluginConvention(project).getTestResultsDir();
DirectoryProperty testResultsDir = GradleUtils.getJavaPluginConvention(project).getTestResultsDir();
DirectoryProperty testListDirectory = project.getObjects().directoryProperty();

// Add DSL extension for testing
NativeImageOptions testOptions = createTestOptions(graalExtension, name, project, mainOptions, config.getSourceSet());

TaskProvider<Test> testTask = config.validate().getTestTask();
testTask.configure(test -> {
File testList = new File(testResultsDir, test.getName() + "/testlist");
var testList = testResultsDir.dir(test.getName() + "/testlist");
testListDirectory.set(testList);
test.getOutputs().dir(testList);
// Set system property read by the UniqueIdTrackingListener.
Expand Down

0 comments on commit d882ebf

Please sign in to comment.