AppCode/CLion: patch java plugin xmls in AppCode as well

This commit is contained in:
Max Medvedev
2018-12-21 12:39:07 +03:00
parent 19906f13ea
commit ef49e792b0
3 changed files with 54 additions and 38 deletions
+2
View File
@@ -2,6 +2,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import com.github.jk1.tcdeps.KotlinScriptDslAdapter.teamcityServer
import com.github.jk1.tcdeps.KotlinScriptDslAdapter.tc
import org.gradle.kotlin.dsl.support.zipTo
import org.jetbrains.kotlin.cidr.includePatchedJavaXmls
apply {
plugin("kotlin")
@@ -78,6 +79,7 @@ val platformDepsJar by task<Zip> {
val platformDepsJar = zipTree(platformDepsZip.singleFile).matching { include("**/$platformDepsJarName") }.singleFile
from(zipTree(platformDepsJar)) {
exclude(pluginXmlPath)
includePatchedJavaXmls()
}
}