Browse Source

RepositoryConventionPlugin supports arbitrary repositories

pull/17202/head
Rob Winch 7 months ago
parent
commit
ff22866c6d
No known key found for this signature in database
  1. 5
      buildSrc/src/main/groovy/io/spring/gradle/convention/RepositoryConventionPlugin.groovy

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

@ -80,6 +80,11 @@ class RepositoryConventionPlugin implements Plugin<Project> {
} }
url = 'https://repo.spring.io/release/' url = 'https://repo.spring.io/release/'
} }
forceMavenRepositories.findAll { it.startsWith('https://') || it.startsWith('file://') }.each { mavenUrl ->
maven {
url mavenUrl
}
}
} }
} }

Loading…
Cancel
Save