Minor: Fix bundled Kotlin plugin removal in Android Studio bundle for macOS
This commit is contained in:
@@ -133,6 +133,9 @@ fun removePathPrefix(path: String): String {
|
|||||||
val unzipIntellijSdk by tasks.creating {
|
val unzipIntellijSdk by tasks.creating {
|
||||||
configureExtractFromConfigurationTask(intellij, pathRemap = { removePathPrefix(it) }) {
|
configureExtractFromConfigurationTask(intellij, pathRemap = { removePathPrefix(it) }) {
|
||||||
zipTree(it.singleFile).matching {
|
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