Drew
01/23/2019, 10:29 PMdrew
01/23/2019, 10:38 PMDrew
01/24/2019, 4:51 PMallProjects {
google()
jcenter()
// etc
}
I used the literal URLs to make a maven
object and exclude the Kotlin/Native
group:
allprojects {
repositories {
maven {
url "<https://dl.google.com/dl/android/maven2/>"
content {
excludeGroupByRegex "Kotlin/Native*."
}
}
maven {
url "<https://jcenter.bintray.com/>"
content {
excludeGroupByRegex "Kotlin/Native*."
}
}
// etc
}
}
drew
01/25/2019, 1:27 AMrepositories.each { it.content { excludeGroupByRegex "Kotlin/Native*." } }
after the repositories list will apply it to all without needing to use the URL for labeled repos.Drew
01/25/2019, 3:42 PM