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
+3 -3
View File
@@ -27,8 +27,8 @@ dependencies {
compileOnly(project(":compiler:frontend"))
compileOnly(project(":native:frontend.native"))
compileOnly(project(":kotlin-util-klib-metadata"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("trove4j") }
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
// This dependency is necessary to keep the right dependency record inside of POM file:
publishedCompile(project(":kotlin-compiler"))
@@ -40,7 +40,7 @@ dependencies {
testImplementation(project(":kotlinx-metadata-klib")) { isTransitive = false }
testImplementation(project(":kotlinx-metadata")) { isTransitive = false }
testImplementation(project(":native:kotlin-klib-commonizer-api"))
testApi(intellijCoreDep()) { includeJars("intellij-core")}
testApi(intellijCore())
}
val runCommonizer by tasks.registering(JavaExec::class) {
+1 -1
View File
@@ -6,7 +6,7 @@ plugins {
dependencies {
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijCore())
api(project(":native:kotlin-native-utils"))
}
+4 -4
View File
@@ -10,9 +10,8 @@ project.configureJvmToolchain(JdkMajorVersion.JDK_11)
dependencies {
testImplementation(kotlinStdlib())
testImplementation(project(":kotlin-reflect"))
testImplementation(intellijCoreDep()) { includeJars("intellij-core") }
testImplementation(intellijPluginDep("java"))
testImplementation(intellijDep()) { includeJars("commons-lang-2.4") }
testImplementation(intellijCore())
testImplementation(commonDependency("commons-lang:commons-lang"))
testImplementation(project(":kotlin-compiler-runner-unshaded"))
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(projectTests(":compiler:tests-common-new"))
@@ -20,7 +19,8 @@ dependencies {
testImplementation(projectTests(":generators:test-generator"))
testApiJUnit5()
testRuntimeOnly(intellijDep()) { includeJars("trove4j", "intellij-deps-fastutil-8.4.1-4") }
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps:trove4j"))
testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps.fastutil:intellij-deps-fastutil"))
}
val generationRoot = projectDir.resolve("tests-gen")