aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis/compiler-dependency/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'kotlin-analysis/compiler-dependency/build.gradle.kts')
-rw-r--r--kotlin-analysis/compiler-dependency/build.gradle.kts28
1 files changed, 28 insertions, 0 deletions
diff --git a/kotlin-analysis/compiler-dependency/build.gradle.kts b/kotlin-analysis/compiler-dependency/build.gradle.kts
new file mode 100644
index 00000000..4d099a70
--- /dev/null
+++ b/kotlin-analysis/compiler-dependency/build.gradle.kts
@@ -0,0 +1,28 @@
+import org.jetbrains.DokkaPublicationBuilder.Component.Shadow
+import org.jetbrains.registerDokkaArtifactPublication
+
+plugins {
+ id("com.github.johnrengelman.shadow")
+ `maven-publish`
+ id("com.jfrog.bintray")
+}
+
+dependencies {
+ val kotlin_version: String by project
+ api("org.jetbrains.kotlin:kotlin-compiler:$kotlin_version")
+
+}
+
+tasks {
+ shadowJar {
+ val dokka_version: String by project
+ archiveFileName.set("dokka-kotlin-analysis-compiler-$dokka_version.jar")
+ archiveClassifier.set("")
+ exclude("**/intellij**")
+ }
+}
+
+registerDokkaArtifactPublication("kotlinAnalysisCompiler") {
+ artifactId = "kotlin-analysis-compiler"
+ component = Shadow
+}