Use BCV plugin to dump and check public API of Kotlin Gradle plugin-related artifacts
This commit is contained in:
committed by
Space Team
parent
49bd4e672b
commit
59131f8138
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id("gradle-plugin-dependency-configuration")
|
||||
id("jps-compatible")
|
||||
id("org.jetbrains.kotlinx.binary-compatibility-validator")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -21,3 +22,13 @@ dependencies {
|
||||
|
||||
embedded(project(":kotlin-gradle-compiler-types")) { isTransitive = false }
|
||||
}
|
||||
|
||||
apiValidation {
|
||||
nonPublicMarkers += "org.jetbrains.kotlin.gradle.InternalKotlinGradlePluginApi"
|
||||
}
|
||||
|
||||
tasks {
|
||||
apiBuild {
|
||||
inputJar.value(jar.flatMap { it.archiveFile })
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user