Skip to content

This plugin illustrates problem with using 'local("/path/to/local/ide/instance")` in Intellij Platform Gradle Plugin 2.*

Notifications You must be signed in to change notification settings

evg64/HelloWorldPlugin

Repository files navigation

For now we can launch this project with:

./gradlew runIde

However if to switch from using "intellijIdeaCommunity" to local IDE instance in build.gradle.kts, then build breaks with the following error:

e: file:///.../src/main/kotlin/com/helloworld/actions/HelloWorldAction.kt:3:42 Unresolved reference 'AnAction'

To switch to local IDE instance just comment out line 21 in build.gradle.kts and uncomment line 22:

dependencies {
    intellijPlatform {
        intellijIdeaCommunity("2024.3.1")
        // local("/Applications/IntelliJ IDEA CE.app/Contents")
        ...
   }
   ...
}

About

This plugin illustrates problem with using 'local("/path/to/local/ide/instance")` in Intellij Platform Gradle Plugin 2.*

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages