aeaaf6dd8e
^KT-58858 In Progress
42 lines
1.1 KiB
Kotlin
42 lines
1.1 KiB
Kotlin
plugins {
|
|
id("gradle-plugin-dependency-configuration")
|
|
id("jps-compatible")
|
|
id("org.jetbrains.kotlinx.binary-compatibility-validator")
|
|
}
|
|
|
|
configureDokkaPublication(
|
|
shouldLinkGradleApi = true,
|
|
configurePublishingToKotlinlang = true,
|
|
) {
|
|
dokkaSourceSets.configureEach {
|
|
reportUndocumented.set(true)
|
|
failOnWarning.set(true)
|
|
|
|
perPackageOption {
|
|
matchingRegex.set("org\\.jetbrains\\.kotlin\\.gradle\\.plugin.*")
|
|
suppress.set(true)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
commonApi(platform(project(":kotlin-gradle-plugins-bom")))
|
|
commonApi(project(":kotlin-gradle-plugin-annotations"))
|
|
commonApi(project(":native:kotlin-native-utils"))
|
|
commonApi(project(":kotlin-tooling-core"))
|
|
|
|
commonCompileOnly(project(":kotlin-gradle-compiler-types"))
|
|
|
|
embedded(project(":kotlin-gradle-compiler-types")) { isTransitive = false }
|
|
}
|
|
|
|
apiValidation {
|
|
nonPublicMarkers += "org.jetbrains.kotlin.gradle.InternalKotlinGradlePluginApi"
|
|
}
|
|
|
|
tasks {
|
|
apiBuild {
|
|
inputJar.value(jar.flatMap { it.archiveFile })
|
|
}
|
|
}
|