Use processResources task to copy compiler.xml to IDEA plugin

This fixes tests broken in 4b2d281bba and 95f9884799
This commit is contained in:
Alexander Udalov
2018-01-19 17:19:10 +01:00
parent 4b2d281bba
commit 513f50785e
2 changed files with 5 additions and 8 deletions
+5 -5
View File
@@ -89,6 +89,11 @@ dependencies {
}
}
val processResources: Copy by tasks
processResources.from("../compiler/cli/src") {
include("META-INF/extensions/compiler.xml")
}
sourceSets {
"main" {
projectDefault()
@@ -105,11 +110,6 @@ sourceSets {
}
}
val jar: Jar by tasks
jar.from("../compiler/cli/src") {
include("META-INF/extensions/compiler.xml")
}
projectTest {
dependsOnTaskIfExistsRec("dist", project = rootProject)
workingDir = rootDir
-3
View File
@@ -92,9 +92,6 @@ dependencies {
val jar = runtimeJar(task<ShadowJar>("shadowJar")) {
from(files("$rootDir/resources/kotlinManifest.properties"))
from(files("$rootDir/compiler/cli/src")) {
include("META-INF/extensions/compiler.xml")
}
from(packedJars)
for (p in projectsToShadow) {
dependsOn("$p:classes")