Build: Use intellij maven repo instead of downloaded IDEA

#KTI-82
This commit is contained in:
Vyacheslav Gerasimov
2021-11-24 03:41:51 +03:00
committed by teamcity
parent 9f725da7f7
commit f7a9065b75
160 changed files with 807 additions and 562 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ plugins {
dependencies {
api(project(":core:descriptors"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("trove4j") }
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
}
sourceSets {
+1 -1
View File
@@ -6,7 +6,7 @@ plugins {
dependencies {
api(project(":core:deserialization"))
api(project(":compiler:config"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijCore())
}
sourceSets {
+2 -2
View File
@@ -9,8 +9,8 @@ dependencies {
api(project(":js:js.ast"))
api(project(":js:js.translator"))
compileOnly(project(":js:js.sourcemap"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("guava", rootProject = rootProject) }
compileOnly(intellijCore())
compileOnly(commonDependency("com.google.guava:guava"))
}
sourceSets {
+1 -1
View File
@@ -8,7 +8,7 @@ dependencies {
api(project(":compiler:util"))
api(project(":js:js.ast"))
api(project(":js:js.translator"))
api(intellijCoreDep()) { includeJars("intellij-core") }
api(intellijCore())
}
sourceSets {
+2 -2
View File
@@ -10,8 +10,8 @@ dependencies {
api(project(":js:js.parser"))
api(project(":js:js.serializer"))
api(project(":js:js.config"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("guava", rootProject = rootProject) }
compileOnly(intellijCore())
compileOnly(commonDependency("com.google.guava:guava"))
}
sourceSets {
+1 -1
View File
@@ -6,7 +6,7 @@ plugins {
dependencies {
api(kotlinStdlib())
api(project(":js:js.ast"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijCore())
}
sourceSets {
+1 -1
View File
@@ -9,7 +9,7 @@ dependencies {
api(project(":compiler:serialization"))
api(project(":js:js.ast"))
api(project(":js:js.config"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijCore())
}
sourceSets {
+2 -2
View File
@@ -7,8 +7,8 @@ dependencies {
compileOnly(project(":js:js.ast"))
compileOnly(project(":js:js.parser")) // TODO remove, required for JSON AST
compileOnly(project(":js:js.frontend")) // TODO remove
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("trove4j") }
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
}
sourceSets {
+5 -5
View File
@@ -28,7 +28,6 @@ val testJsRuntime by configurations.creating {
dependencies {
testApiJUnit5(vintageEngine = true)
testRuntimeOnly(intellijDep())
testApi(protobufFull())
testApi(projectTests(":compiler:tests-common"))
@@ -41,8 +40,7 @@ dependencies {
testCompileOnly(project(":compiler:cli"))
testCompileOnly(project(":compiler:cli-js"))
testCompileOnly(project(":compiler:util"))
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testCompileOnly(intellijDep()) { includeJars("idea", "idea_rt", "util") }
testCompileOnly(intellijCore())
testApi(project(":compiler:backend.js"))
testApi(project(":compiler:backend.wasm"))
testApi(project(":js:js.translator"))
@@ -54,14 +52,16 @@ dependencies {
testApi(projectTests(":kotlin-build-common"))
testApi(projectTests(":generators:test-generator"))
testApi(intellijCoreDep()) { includeJars("intellij-core") }
testApi(intellijCore())
testApi(project(":compiler:frontend"))
testApi(project(":compiler:cli"))
testApi(project(":compiler:util"))
testRuntimeOnly(project(":kotlin-reflect"))
testRuntimeOnly(intellijDep()) { includeJars("trove4j", "guava", "jdom", rootProject = rootProject) }
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
testRuntimeOnly(commonDependency("com.google.guava:guava"))
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps:jdom"))
testRuntimeOnly(kotlinStdlib())
testJsRuntime(kotlinStdlib("js"))
+3 -2
View File
@@ -15,8 +15,9 @@ dependencies {
api(project(":js:js.frontend"))
api(project(":js:js.parser"))
compileOnly(project(":js:js.sourcemap"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("trove4j", "guava", rootProject = rootProject) }
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
compileOnly(commonDependency("com.google.guava:guava"))
}
sourceSets {