Skip to content

Commit

Permalink
Allow zip files as libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreytac authored Aug 16, 2022
1 parent 460070e commit c61575d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private boolean tryDownloadLibrary(Library library, Library.Artifact artifact, S
try {
log.info("Downloading library " + library.getName() + " from " + url + "...");
HttpRequest.get(url).execute().expectResponseCode(200)
.expectContentType("application/java-archive", "application/octet-stream")
.expectContentType("application/java-archive", "application/octet-stream", "application/zip")
.saveContent(tempFile);
} catch (IOException e) {
log.info("Could not get file from " + url + ": " + e.getMessage());
Expand Down

0 comments on commit c61575d

Please sign in to comment.