mirror of
https://github.com/rife2/bld
synced 2026-01-29 14:53:42 +01:00
Added GOOGLE and SONATYPE_RELEASE_LEGACY to resolveRepository method.
This commit is contained in:
parent
261b5d456a
commit
76cba6ed7a
|
|
@ -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…
Reference in a new issue