Paul Woitaschek
10/06/2019, 2:10 PMefemoney
10/06/2019, 9:02 PMbuildSrc
as a RepositoryHandler
extensionefemoney
10/06/2019, 9:05 PM// buildSrc/src/main/kotlin/file.kt
fun RepositoryHandler.configureBaseRepos() {
google()
kotlinEap()
maven { ... }
}
// whatever/build.gradle(.kts)
buildscript {
repositiories.configureBaseRepos()
}
allprojects {
repositiories.configureBaseRepos()
}
efemoney
10/06/2019, 9:08 PMPaul Woitaschek
10/07/2019, 7:41 AMcristiangm
10/08/2019, 9:44 AMrepositories { myRepos() }
( both using groovy or Kotlin )cristiangm
10/08/2019, 9:46 AMcristiangm
10/08/2019, 9:47 AM