Restrict samples' usage of Maven local

This commit is contained in:
Andy Wilkinson
2022-04-12 12:10:59 +01:00
parent 169c29b9a4
commit 683686ea46
6 changed files with 30 additions and 6 deletions

View File

@@ -5,7 +5,11 @@ plugins {
}
repositories {
mavenLocal()
mavenLocal {
content {
includeGroup("org.springframework.restdocs")
}
}
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
mavenCentral()

View File

@@ -4,10 +4,14 @@ plugins {
}
repositories {
mavenLocal {
content {
includeGroup("org.springframework.restdocs")
}
}
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
mavenCentral()
mavenLocal()
}
group = 'com.example'

View File

@@ -3,7 +3,11 @@ plugins {
}
repositories {
mavenLocal()
mavenLocal {
content {
includeGroup("org.springframework.restdocs")
}
}
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
mavenCentral()

View File

@@ -4,7 +4,11 @@ plugins {
}
repositories {
mavenLocal()
mavenLocal {
content {
includeGroup("org.springframework.restdocs")
}
}
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
mavenCentral()

View File

@@ -5,7 +5,11 @@ plugins {
}
repositories {
mavenLocal()
mavenLocal {
content {
includeGroup("org.springframework.restdocs")
}
}
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
mavenCentral()

View File

@@ -6,10 +6,14 @@ apply plugin: 'java'
apply plugin: 'eclipse'
repositories {
mavenLocal {
content {
includeGroup("org.springframework.restdocs")
}
}
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
mavenCentral()
mavenLocal()
}
group = 'com.example'