Skip to content

Commit

Permalink
Try to fix using a local IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Jul 12, 2024
1 parent d3db7f1 commit 315cf96
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion intellij-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,13 @@ intellijPlatform {

dependencies {
intellijPlatform {
create(type = properties("platformType"), version = properties("platformVersion"))
val localIdeDir = providers.gradleProperty("apolloIntellijPlugin.ideDir").orNull
if (localIdeDir != null) {
local(localIdeDir)
} else {
create(type = properties("platformType"), version = properties("platformVersion"))
}

bundledPlugins(properties("platformBundledPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
plugins(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
instrumentationTools()
Expand Down

0 comments on commit 315cf96

Please sign in to comment.