blob: 8d076bf5deb53a5c7ed22140d864b5b5df09ca8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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()
}
|