Skip to content

Commit 0701114

Browse files
committed
better handling for prepareJarSearchableOptions
1 parent 71e74d1 commit 0701114

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

plugins/toolkit/intellij-standalone/build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ dependencies {
2727
}
2828
}
2929

30-
tasks.processResources {
31-
from("resources/META-INF/plugin-shim.xml") {
32-
rename("plugin-shim.xml", "plugin.xml")
33-
into("META-INF")
34-
}
30+
tasks.prepareJarSearchableOptions {
31+
val pluginXmlJar = project(":plugin-core").tasks.jar
32+
dependsOn(pluginXmlJar)
33+
composedJarFile.set(pluginXmlJar.flatMap { it.archiveFile })
3534
}
3635

3736
tasks.check {

0 commit comments

Comments
 (0)