Jakub Chrzanowski

Results 264 comments of Jakub Chrzanowski

Available since 2.5.0 ```kotlin val testIdeWithPlugins by intellijPlatformTesting.testIde.registering { // ... plugins { plugin(id, version) bundledPlugin(id) bundledModule(id) } } ```

Thanks for reporting, Alexander! Unfortunately, I'm unable to reproduce this issue. Could you please prepare a minimal project and publish it to GitHub so I could run it locally?

Thanks for reporting. Which IntelliJ Platform do you target? What happens if you manually trigger the Gradle project refresh after downloading sources?

Thanks for confirming. This is a problem that should be somehow addressed within the DevKit plugin inside the IntelliJ IDEA. Related issue: https://youtrack.jetbrains.com/issue/IJPL-158473/Support-more-cases-of-attaching-IntelliJ-Platform-sources-by-DevKit-plugin

It is possible to achieve it with: ```kotlin val runIdeWithPlugins by intellijPlatformTesting.runIde.registering { plugins { plugin("com.google.ide-perf:1.3.1") } prepareSandboxTask { dependsOn("downloadAptosBinaries") from("${rootDir}/cert") { into(intellijPlatform.projectName.map { "$it/bin" }) include("**") } } }...

Sorry for the late reply! > So to provide binaries both to the buildPlugin and to runIde I need to use two blocks of prepareSandboxTask. Is that right? Correct, they...

Thanks for sharing more details. The following exception indicates a networking problem with resolving additional tools for building the plugin: ``` Execution failed for task ':instrumentCode'. > Error while evaluating...

You still need to define a dependency on the IntelliJ Platform, like: ```kotlin dependencies { intellijPlatform { intellijIdeaCommunity("2022.2.4") // or local("[PATH]\\ideaIC-2024.1.4.win") instrumentationTools() } } ``` See [Dependencies Extension](https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-tasks.html) for more...

All dependencies are now handled with Gradle and relevant Maven repositories. To make it working, you need to declare required repositories, like with ``` repositories { intellijPlatform { defaultRepositories() }...

AFAIR, this issue was already addressed in one of the latest versions. I'll close the ticket now, but feel free to reopen it if such a problem appears. Thanks!