RepositoryConventionPlugin supports arbitrary repositories

This commit is contained in:
Rob Winch 2025-05-22 15:43:38 -05:00
parent cd27290260
commit ff22866c6d
No known key found for this signature in database

View File

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