To add GitLab support, you'll need to add a method to BlowdryerSetup similar to the github method:
|
/** Sets the source where we will grab these scripts. */ |
|
public void github(String repoOrg, GitAnchorType anchorType, String anchor) { |
|
assertNoLeadingOrTrailingSlash(repoOrg); |
|
assertNoLeadingOrTrailingSlash(anchor); |
|
String root = "https://raw.githubusercontent.com/" + repoOrg + "/" + anchor + "/" + repoSubfolder + "/"; |
|
Blowdryer.setResourcePlugin(resource -> root + resource); |
|
} |
To add GitLab support, you'll need to add a method to
BlowdryerSetupsimilar to thegithubmethod:blowdryer/src/main/java/com/diffplug/blowdryer/BlowdryerSetup.java
Lines 56 to 62 in d116192