Skip to content

Commit

Permalink
Explicitly pass platform prefix for some IDEs launched by gradle inte…
Browse files Browse the repository at this point in the history
…llij plugin

It's a temporary workaround for JetBrains/intellij-platform-gradle-plugin#1525
  • Loading branch information
Undin authored and anchouls committed Jan 26, 2024
1 parent d9460f4 commit bb7e939
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions intellij-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ val baseVersion = when {
else -> error("Unexpected IDE name = `$baseIDE`")
}

val explicitPlatformPrefix: String? = when (baseIDE) {
"idea" -> "idea"
"clion" -> "CLion"
"pycharm" -> "Python"
"studio" -> "AndroidStudio"
else -> null
}

val ideaSandbox = "${buildDir()}/idea-sandbox"
val pycharmSandbox = "${buildDir()}/pycharm-sandbox"
val studioSandbox = "${buildDir()}/studio-sandbox"
Expand Down

0 comments on commit bb7e939

Please sign in to comment.