Skip to content

Commit

Permalink
add mavenLocal() to the highest priority
Browse files Browse the repository at this point in the history
  • Loading branch information
C5299616 committed Jan 27, 2021
1 parent 4dc55ae commit 8fcfab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/robothy/CnRepositoryPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class CnRepositoryPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
RepositoryHandler repositoryHandler = project.getRepositories();
repositoryHandler.mavenLocal();
for (String url : Repositories.URLS){
repositoryHandler.maven(repo->repo.setUrl(url));
}
Expand Down

0 comments on commit 8fcfab4

Please sign in to comment.