Skip to content

Commit

Permalink
DependencyDownloader: Replace deprecated Gradle API
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Jul 1, 2024
1 parent 564f432 commit 539a92f
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,8 @@ public FileCollection download(boolean transitive, boolean resolve) {
attributes.attribute((Attribute<Object>) attribute, value);
});
});
FileCollection files = config.fileCollection(dep -> true);

if (resolve) {
files = project.files(files.getFiles());
}

return files;
return resolve ? project.files(config.resolve()) : config;
}

/**
Expand Down

0 comments on commit 539a92f

Please sign in to comment.