diff options
Diffstat (limited to 'dokka-subprojects/analysis-kotlin-descriptors/build.gradle.kts')
-rw-r--r-- | dokka-subprojects/analysis-kotlin-descriptors/build.gradle.kts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dokka-subprojects/analysis-kotlin-descriptors/build.gradle.kts b/dokka-subprojects/analysis-kotlin-descriptors/build.gradle.kts new file mode 100644 index 00000000..8d076bf5 --- /dev/null +++ b/dokka-subprojects/analysis-kotlin-descriptors/build.gradle.kts @@ -0,0 +1,29 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +import dokkabuild.overridePublicationArtifactId + +plugins { + id("dokkabuild.kotlin-jvm") + id("dokkabuild.publish-shadow") +} + +overridePublicationArtifactId("analysis-kotlin-descriptors") + +dependencies { + // to override some interfaces (JvmAnnotationEnumFieldValue, JvmAnnotationConstantValue) from compiler since thet are empty there + // should be `api` since we already have it in :analysis-java-psi + api(libs.intellij.java.psi.api) { + isTransitive = false + } + implementation(projects.dokkaSubprojects.analysisKotlinApi) + implementation(projects.dokkaSubprojects.analysisKotlinDescriptorsCompiler) + implementation(projects.dokkaSubprojects.analysisKotlinDescriptorsIde) +} + +tasks.shadowJar { + // service files are merged to make sure all Dokka plugins + // from the dependencies are loaded, and not just a single one. + mergeServiceFiles() +} |