Use exclusiveContent API for jcenter

The previous setup said to only look for those packages in jcenter. This is a more powerful alternative, which says only use jcenter for those packages
This commit is contained in:
Zac Sweers
2020-09-26 04:34:57 -04:00
parent bc85227f29
commit 45ef3daef9
2 changed files with 13 additions and 17 deletions

View File

@@ -18,18 +18,6 @@ pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
@Suppress("UnstableApiUsage")
exclusiveContent {
forRepository {
maven {
name = "JCenter"
setUrl("https://jcenter.bintray.com/")
}
}
filter {
includeModule("org.jetbrains.dokka", "dokka-fatjar")
}
}
}
}