aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis/dependencies/build.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-31 14:01:49 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-31 17:54:04 +0200
commit582db8d659877cd2c482d485e0ba19913dba3a6a (patch)
tree5ae22618194e11535f094a6712020054a398648a /kotlin-analysis/dependencies/build.gradle.kts
parent292b3fbf0b86f8370f23c8e631e37b735393226d (diff)
downloaddokka-582db8d659877cd2c482d485e0ba19913dba3a6a.tar.gz
dokka-582db8d659877cd2c482d485e0ba19913dba3a6a.tar.bz2
dokka-582db8d659877cd2c482d485e0ba19913dba3a6a.zip
Re/de-shadow kotlin-compiler artifact
Diffstat (limited to 'kotlin-analysis/dependencies/build.gradle.kts')
-rw-r--r--kotlin-analysis/dependencies/build.gradle.kts56
1 files changed, 0 insertions, 56 deletions
diff --git a/kotlin-analysis/dependencies/build.gradle.kts b/kotlin-analysis/dependencies/build.gradle.kts
deleted file mode 100644
index a12e697d..00000000
--- a/kotlin-analysis/dependencies/build.gradle.kts
+++ /dev/null
@@ -1,56 +0,0 @@
-import org.jetbrains.DokkaPublicationBuilder.Component.Shadow
-import org.jetbrains.registerDokkaArtifactPublication
-
-plugins {
- id("com.github.johnrengelman.shadow")
- `maven-publish`
- id("com.jfrog.bintray")
-}
-
-repositories {
- maven(url = "https://www.jetbrains.com/intellij-repository/snapshots")
- maven(url = "https://www.jetbrains.com/intellij-repository/releases")
- maven(url = "https://kotlin.bintray.com/kotlin-plugin")
-}
-
-val intellijCore: Configuration by configurations.creating
-
-fun intellijCoreAnalysis() = zipTree(intellijCore.singleFile).matching {
- include("intellij-core-analysis.jar")
-}
-
-dependencies {
- val kotlin_plugin_version: String by project
- api("org.jetbrains.kotlin:ide-common-ij193:$kotlin_plugin_version")
- api("org.jetbrains.kotlin:kotlin-plugin-ij193:$kotlin_plugin_version") {
- //TODO: parametrize ij version after 1.3.70
- isTransitive = false
- }
-
- val idea_version: String by project
- intellijCore("com.jetbrains.intellij.idea:intellij-core:$idea_version")
- implementation(intellijCoreAnalysis())
-}
-
-tasks {
- shadowJar {
- val dokka_version: String by project
- archiveFileName.set("dokka-kotlin-analysis-dependencies-$dokka_version.jar")
- archiveClassifier.set("")
-
- exclude("colorScheme/**")
- exclude("fileTemplates/**")
- exclude("inspectionDescriptions/**")
- exclude("intentionDescriptions/**")
- exclude("tips/**")
- exclude("messages/**")
- exclude("src/**")
- exclude("**/*.kotlin_metadata")
- exclude("**/*.kotlin_builtins")
- }
-}
-
-registerDokkaArtifactPublication("kotlinAnalysisDependencies"){
- artifactId = "kotlin-analysis-dependencies"
- component = Shadow
-}