Publish compiler testdata which is required for Kotlin plugin
This commit is contained in:
committed by
TeamCityServer
parent
71c9e62d64
commit
ea24da117b
@@ -342,6 +342,7 @@ extra["compilerArtifactsForIde"] = listOf(
|
||||
":prepare:ide-plugin-dependencies:parcelize-compiler-plugin-for-ide",
|
||||
":prepare:ide-plugin-dependencies:lombok-compiler-plugin-for-ide",
|
||||
":prepare:ide-plugin-dependencies:kotlin-compiler-tests-for-ide",
|
||||
":prepare:ide-plugin-dependencies:kotlin-compiler-testdata-for-ide",
|
||||
":kotlin-script-runtime",
|
||||
":kotlin-script-util",
|
||||
":kotlin-scripting-common",
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
idePluginDependency {
|
||||
apply<JavaPlugin>()
|
||||
|
||||
publish()
|
||||
|
||||
val jar: Jar by tasks
|
||||
|
||||
jar.apply {
|
||||
listOf(
|
||||
"compiler/testData/asJava/lightClasses",
|
||||
"compiler/testData/asJava/script",
|
||||
"compiler/testData/asJava/ultraLightClasses",
|
||||
"compiler/testData/asJava/ultraLightFacades",
|
||||
"compiler/testData/asJava/ultraLightScripts",
|
||||
"compiler/testData/loadJava/compiledKotlin",
|
||||
"compiler/fir/analysis-tests/testData/resolve",
|
||||
"compiler/fir/analysis-tests/testData/resolveWithStdlib",
|
||||
"compiler/testData/diagnostics/tests",
|
||||
"compiler/testData/diagnostics/testsWithStdLib"
|
||||
).forEach {
|
||||
from(rootDir.resolve(it)) {
|
||||
into(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -311,6 +311,7 @@ include ":prepare:ide-plugin-dependencies:android-extensions-compiler-plugin-for
|
||||
":prepare:ide-plugin-dependencies:lombok-compiler-plugin-for-ide",
|
||||
":prepare:ide-plugin-dependencies:tests-common-tests-for-ide",
|
||||
":prepare:ide-plugin-dependencies:compiler-components-for-jps",
|
||||
":prepare:ide-plugin-dependencies:kotlin-compiler-testdata-for-ide",
|
||||
":prepare:ide-plugin-dependencies:kotlin-compiler-tests-for-ide"
|
||||
|
||||
if (buildProperties.getOrNull("attachedIntellijVersion") != null) {
|
||||
|
||||
Reference in New Issue
Block a user