mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[testframework] Allow to specify custom repository for testing externally (PR#2800)
GitOrigin-RevId: 9a21d8710d87cf41fcae5dcbb6c7c1dfb6ba8cec
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3c6a45ad99
commit
3b7c729f5a
@@ -102,6 +102,13 @@ public final class MavenDependencyUtil {
|
||||
|
||||
@NotNull
|
||||
public static List<RemoteRepositoryDescription> getRemoteRepositoryDescriptions() {
|
||||
String repoForTesting = System.getProperty("maven.repo.for.testing");
|
||||
if (repoForTesting != null) {
|
||||
return List.of(new RemoteRepositoryDescription(
|
||||
"intellij-dependencies",
|
||||
"IntelliJ Dependencies",
|
||||
repoForTesting));
|
||||
}
|
||||
return REPOS_FOR_TESTING;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user