5c0c8ed2d5
- Use analysis plugin configuration instead of `StdLibAnalysisConfigurationPlugin` - Change SamplesTransformer plugin after Dokka refactoring
35 lines
1.1 KiB
Kotlin
35 lines
1.1 KiB
Kotlin
pluginManagement {
|
|
val dokkaVersion = providers.gradleProperty("dokka_version").get()
|
|
val dokkaRepository = providers.gradleProperty("dokka_repository").getOrElse("https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev")
|
|
plugins {
|
|
id("org.jetbrains.dokka") version(dokkaVersion)
|
|
}
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven(url = dokkaRepository)
|
|
if ("-local" in dokkaVersion) {
|
|
mavenLocal()
|
|
}
|
|
}
|
|
}
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
|
|
val dokkaVersion = providers.gradleProperty("dokka_version").get()
|
|
val dokkaRepository = providers.gradleProperty("dokka_repository").getOrElse("https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev")
|
|
repositories {
|
|
mavenCentral()
|
|
maven(url = dokkaRepository)
|
|
if ("-local" in dokkaVersion) {
|
|
mavenLocal()
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "kotlin-stdlib-docs"
|
|
|
|
include("kotlin_big")
|
|
include("plugins")
|
|
include("plugins:dokka-samples-transformer-plugin")
|
|
include("plugins:dokka-version-filter-plugin")
|