summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle7
-rw-r--r--settings.gradle10
2 files changed, 10 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index d025b9b..df5ec64 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,13 +9,6 @@ plugins {
id 'maven-publish'
}
-repositories {
- mavenLocal()
- maven {
- url = uri('https://repo.maven.apache.org/maven2/')
- }
-}
-
dependencies {
compileOnly group: 'org.projectlombok', name: 'lombok', version: lombokVersion
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: lombokVersion
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/')
+ }
+ }
+}