mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-23 04:34:03 +02:00
Exclude kotlin stdlib from the distribution
This commit is contained in:
parent
836e9a2fbc
commit
5652774888
@ -11,6 +11,8 @@ plugins {
|
|||||||
kotlin("plugin.serialization") version "1.8.21"
|
kotlin("plugin.serialization") version "1.8.21"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val kotlinxSerializationVersion: String by project
|
||||||
|
|
||||||
group = "com.intellij"
|
group = "com.intellij"
|
||||||
version = "SNAPSHOT"
|
version = "SNAPSHOT"
|
||||||
|
|
||||||
@ -20,5 +22,9 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.google.devtools.ksp:symbol-processing-api:1.9.21-1.0.15")
|
compileOnly("com.google.devtools.ksp:symbol-processing-api:1.9.21-1.0.15")
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.6.0")
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:$kotlinxSerializationVersion") {
|
||||||
|
// kotlin stdlib is provided by IJ, so there is no need to include it into the distribution
|
||||||
|
exclude("org.jetbrains.kotlin", "kotlin-stdlib")
|
||||||
|
exclude("org.jetbrains.kotlin", "kotlin-stdlib-common")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,10 +18,15 @@ antlrVersion=4.10.1
|
|||||||
|
|
||||||
|
|
||||||
# Please don't forget to update kotlin version in buildscript section
|
# Please don't forget to update kotlin version in buildscript section
|
||||||
|
# Also update kotlinxSerializationVersion version
|
||||||
kotlinVersion=1.8.21
|
kotlinVersion=1.8.21
|
||||||
publishToken=token
|
publishToken=token
|
||||||
publishChannels=eap
|
publishChannels=eap
|
||||||
|
|
||||||
|
# Kotlinx serialization also uses some version of kotlin stdlib under the hood. However,
|
||||||
|
# we exclude this version from the dependency and use our own version of kotlin that is specified above
|
||||||
|
kotlinxSerializationVersion=1.5.1
|
||||||
|
|
||||||
slackUrl=
|
slackUrl=
|
||||||
youtrackToken=
|
youtrackToken=
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val kotlinVersion: String by project
|
val kotlinVersion: String by project
|
||||||
|
val kotlinxSerializationVersion: String by project
|
||||||
|
|
||||||
// group 'org.jetbrains.ideavim'
|
// group 'org.jetbrains.ideavim'
|
||||||
// version 'SNAPSHOT'
|
// version 'SNAPSHOT'
|
||||||
@ -46,7 +47,7 @@ dependencies {
|
|||||||
|
|
||||||
ksp(project(":annotation-processors"))
|
ksp(project(":annotation-processors"))
|
||||||
implementation(project(":annotation-processors"))
|
implementation(project(":annotation-processors"))
|
||||||
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.6.0")
|
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:$kotlinxSerializationVersion")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
Loading…
Reference in New Issue
Block a user