diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-02-27 14:40:15 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-02-28 18:27:16 +0000 |
commit | a344f152873e3b2f33411c391c3f57f604ae8bfa (patch) | |
tree | d1e45a401cbead08f41f67c8ab23040610160e70 /android | |
parent | 811dfd7f2706f56119a1943e08d9bce73b0d2203 (diff) |
add ipv6 enabled maven repository
maven central so far doesn't support ipv6 on the primary URL (see
https://issues.sonatype.org/browse/MVNCENTRAL-658 ), it is only enabled
on a dedicated ipv6.repo1.maven.org URL currently.
Add that one to the list of repositories so that ipv6-only hosts can also
fetch the dependencies.
(when using internal ipv4 as well, you'll also need to export
JAVA_OPTS="-Djava.net.preferIPv6Addresses=true"
since otherwise the gradle wrapper fails to download gradle)
Change-Id: I22f0e07fd4e6bb518396f76db20c174e45588372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147917
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/build.gradle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/source/build.gradle b/android/source/build.gradle index 13bf0381d416..6b8e8d23ad83 100644 --- a/android/source/build.gradle +++ b/android/source/build.gradle @@ -5,6 +5,9 @@ apply from: 'liboSettings.gradle' allprojects { repositories { mavenCentral() + maven { + url "https://ipv6.repo1.maven.org/maven2" + } google() } } @@ -12,6 +15,9 @@ allprojects { buildscript { repositories { mavenCentral() + maven { + url "https://ipv6.repo1.maven.org/maven2" + } google() } dependencies { |