summaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2022-02-02 11:52:30 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2022-02-02 11:56:27 +0100
commita56e09ec29b081d77e3b260f5f87f626ae84d16c (patch)
treeb98dcfcfc16fd46ad0f3947866c1eba70d87a2f1 /settings.gradle
parent172b28419039adb2ec9a85e45d16b9b7070cc4c2 (diff)
Move maven repository to settingsgradle
This is required on Android builds.
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle10
1 files changed, 10 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle
index 1f708ff..899ffad 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1 +1,11 @@
rootProject.name = 'bgp-java'
+
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ mavenLocal()
+ maven {
+ url = uri('https://repo.maven.apache.org/maven2/')
+ }
+ }
+}