Merge branch '2.4.x' into 2.5.x
Closes gh-27056
This commit is contained in:
@@ -198,7 +198,7 @@ abstract class ArchiveCommand extends OptionParsingCommand {
|
||||
List<Library> libraries = new ArrayList<>();
|
||||
for (URL dependency : dependencies) {
|
||||
File file = new File(dependency.toURI());
|
||||
libraries.add(new Library(file, getLibraryScope(file)));
|
||||
libraries.add(new Library(null, file, getLibraryScope(file), null, false, false, true));
|
||||
}
|
||||
return libraries;
|
||||
}
|
||||
@@ -256,7 +256,7 @@ abstract class ArchiveCommand extends OptionParsingCommand {
|
||||
List<Library> libraries = new ArrayList<>();
|
||||
for (MatchedResource entry : entries) {
|
||||
if (entry.isRoot()) {
|
||||
libraries.add(new Library(entry.getFile(), LibraryScope.COMPILE));
|
||||
libraries.add(new Library(null, entry.getFile(), LibraryScope.COMPILE, null, false, false, true));
|
||||
}
|
||||
else {
|
||||
writeClasspathEntry(writer, entry);
|
||||
|
||||
Reference in New Issue
Block a user