Files
kotlin-fork/libraries/tools/kotlin-stdlib-docs/settings.gradle.kts
T
vmishenev 5c0c8ed2d5 Update Dokka to 1.9.10-dev
- Use analysis plugin configuration instead of `StdLibAnalysisConfigurationPlugin`
- Change SamplesTransformer plugin after Dokka refactoring
2023-08-23 12:33:40 +00:00

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")