Delete bundled Kotlin plugin from different kind of AS jar/zip
This commit is contained in:
@@ -133,10 +133,7 @@ fun removePathPrefix(path: String): String {
|
||||
val unzipIntellijSdk by tasks.creating {
|
||||
configureExtractFromConfigurationTask(intellij, pathRemap = { removePathPrefix(it) }) {
|
||||
zipTree(it.singleFile).matching {
|
||||
if (OperatingSystem.current().isMacOsX && androidStudioRelease != null) {
|
||||
exclude("Android Studio*.app/Contents/plugins/Kotlin/**")
|
||||
}
|
||||
exclude("plugins/Kotlin/**")
|
||||
exclude("**/plugins/Kotlin/**")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user