mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-25 08:17:11 -07:00
Added GOOGLE and SONATYPE_RELEASE_LEGACY to resolveRepository method.
This commit is contained in:
parent
261b5d456a
commit
76cba6ed7a
1 changed files with 2 additions and 0 deletions
|
@ -82,9 +82,11 @@ public record Repository(String location, String username, String password) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return switch (locationOrName) {
|
return switch (locationOrName) {
|
||||||
|
case "GOOGLE" -> Repository.GOOGLE;
|
||||||
case "MAVEN_LOCAL" -> Repository.MAVEN_LOCAL;
|
case "MAVEN_LOCAL" -> Repository.MAVEN_LOCAL;
|
||||||
case "MAVEN_CENTRAL" -> Repository.MAVEN_CENTRAL;
|
case "MAVEN_CENTRAL" -> Repository.MAVEN_CENTRAL;
|
||||||
case "SONATYPE_RELEASES" -> Repository.SONATYPE_RELEASES;
|
case "SONATYPE_RELEASES" -> Repository.SONATYPE_RELEASES;
|
||||||
|
case "SONATYPE_RELEASES_LEGACY" -> Repository.SONATYPE_RELEASES_LEGACY;
|
||||||
case "SONATYPE_SNAPSHOTS" -> Repository.SONATYPE_SNAPSHOTS;
|
case "SONATYPE_SNAPSHOTS" -> Repository.SONATYPE_SNAPSHOTS;
|
||||||
case "SONATYPE_SNAPSHOTS_LEGACY" -> Repository.SONATYPE_SNAPSHOTS_LEGACY;
|
case "SONATYPE_SNAPSHOTS_LEGACY" -> Repository.SONATYPE_SNAPSHOTS_LEGACY;
|
||||||
case "APACHE" -> Repository.APACHE;
|
case "APACHE" -> Repository.APACHE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue