aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis
diff options
context:
space:
mode:
Diffstat (limited to 'kotlin-analysis')
-rw-r--r--kotlin-analysis/build.gradle.kts2
-rw-r--r--kotlin-analysis/compiler-dependency/build.gradle.kts3
-rw-r--r--kotlin-analysis/intellij-dependency/build.gradle.kts16
3 files changed, 10 insertions, 11 deletions
diff --git a/kotlin-analysis/build.gradle.kts b/kotlin-analysis/build.gradle.kts
index 36dc58c4..a5908b4e 100644
--- a/kotlin-analysis/build.gradle.kts
+++ b/kotlin-analysis/build.gradle.kts
@@ -7,7 +7,7 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
+ compileOnly(projects.core)
api(project("intellij-dependency", configuration = "shadow"))
api(project("compiler-dependency", configuration = "shadow"))
}
diff --git a/kotlin-analysis/compiler-dependency/build.gradle.kts b/kotlin-analysis/compiler-dependency/build.gradle.kts
index f18b6f49..5d0a01e0 100644
--- a/kotlin-analysis/compiler-dependency/build.gradle.kts
+++ b/kotlin-analysis/compiler-dependency/build.gradle.kts
@@ -8,8 +8,7 @@ plugins {
}
dependencies {
- val kotlin_version: String by project
- api("org.jetbrains.kotlin:kotlin-compiler:$kotlin_version")
+ api(libs.kotlin.compiler)
}
tasks {
diff --git a/kotlin-analysis/intellij-dependency/build.gradle.kts b/kotlin-analysis/intellij-dependency/build.gradle.kts
index ad9d74e8..b4e46030 100644
--- a/kotlin-analysis/intellij-dependency/build.gradle.kts
+++ b/kotlin-analysis/intellij-dependency/build.gradle.kts
@@ -35,19 +35,19 @@ fun jpsModel() = zipTree(jpsStandalone.singleFile).matching {
}
dependencies {
- val kotlin_plugin_version: String by project
- api("org.jetbrains.kotlin:common:$kotlin_plugin_version")
- api("org.jetbrains.kotlin:idea:$kotlin_plugin_version") {
+ api(libs.kotlinPlugin.common)
+ api(libs.kotlinPlugin.idea) {
isTransitive = false
}
- api("org.jetbrains.kotlin:core:$kotlin_plugin_version")
- api("org.jetbrains.kotlin:native:$kotlin_plugin_version")
+ api(libs.kotlinPlugin.core)
+ api(libs.kotlinPlugin.native)
- val idea_version: String by project
- intellijCore("com.jetbrains.intellij.idea:intellij-core:$idea_version")
+ @Suppress("UnstableApiUsage")
+ intellijCore(libs.jetbrainsIntelliJ.core)
implementation(intellijCoreAnalysis())
- jpsStandalone("com.jetbrains.intellij.idea:jps-standalone:$idea_version")
+ @Suppress("UnstableApiUsage")
+ jpsStandalone(libs.jetbrainsIntelliJ.jpsStandalone)
implementation(jpsModel())
}