mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
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:
@@ -104,11 +104,19 @@ spotless {
|
||||
subprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter().mavenContent {
|
||||
// Required for Dokka
|
||||
includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm")
|
||||
includeGroup("org.jetbrains.dokka")
|
||||
includeModule("org.jetbrains", "markdown")
|
||||
// Required for Dokka
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven {
|
||||
name = "JCenter"
|
||||
setUrl("https://jcenter.bintray.com/")
|
||||
}
|
||||
}
|
||||
filter {
|
||||
includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm")
|
||||
includeGroup("org.jetbrains.dokka")
|
||||
includeModule("org.jetbrains", "markdown")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user