build/kotlin-extensions: Do not expose kotlin-stdlib dependency to API consumers
This commit is contained in:
parent
5cc7fdd634
commit
42f63b2749
1 changed files with 10 additions and 5 deletions
|
|
@ -6,6 +6,16 @@ plugins {
|
|||
id("org.jetbrains.dokka") version "1.4.20"
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
dependencies.removeIf { it.group == "org.jetbrains.kotlin" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":cloud-core"))
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
testImplementation("org.jetbrains.kotlin", "kotlin-test-junit5")
|
||||
}
|
||||
|
||||
tasks {
|
||||
withType<DokkaTask>().configureEach {
|
||||
dokkaSourceSets.getByName("main") {
|
||||
|
|
@ -32,8 +42,3 @@ tasks {
|
|||
kotlin {
|
||||
explicitApi()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":cloud-core"))
|
||||
testImplementation("org.jetbrains.kotlin", "kotlin-test-junit5")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue