Skip to content

Commit ff22866

Browse files
committed
RepositoryConventionPlugin supports arbitrary repositories
1 parent cd27290 commit ff22866

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildSrc/src/main/groovy/io/spring/gradle/convention/RepositoryConventionPlugin.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ class RepositoryConventionPlugin implements Plugin<Project> {
8080
}
8181
url = 'https://repo.spring.io/release/'
8282
}
83+
forceMavenRepositories.findAll { it.startsWith('https://') || it.startsWith('file://') }.each { mavenUrl ->
84+
maven {
85+
url mavenUrl
86+
}
87+
}
8388
}
8489
}
8590

0 commit comments

Comments
 (0)