Skip to content

Commit

Permalink
Auto set insecure to true when http
Browse files Browse the repository at this point in the history
  • Loading branch information
faab007nl committed Dec 21, 2023
1 parent 3e32d13 commit c932069
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ private void onProjectEvaluation(Project project) {
log(Color.BLUE + "Adding repository: " + name + " with url: " + url + "...");
maven.setName(name);
maven.setUrl(url);
maven.setAllowInsecureProtocol(url.startsWith("http://"));
}));

log();
Expand Down

0 comments on commit c932069

Please sign in to comment.