Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin sandbox created by IntelliJPlatformTestingExtension is not correct for localPlugin(org.gradle.api.artifacts.ProjectDependency) #1743

Closed
rli opened this issue Aug 21, 2024 · 1 comment
Labels
Milestone

Comments

@rli
Copy link

rli commented Aug 21, 2024

What happened?

Similar to #1620,
The sandbox tasks created by IntelliJPlatformTestingExtension do not copy local project plugins correctly

Relevant log output or stack trace

No response

Steps to reproduce

With configuration:

dependencies {
    intellijPlatform {
        intellijIdeaCommunity("2024.2")
        instrumentationTools()

        localPlugin(project(":pluginA"))
        localPlugin(project(":pluginB"))
    }
}

val customRunIde by intellijPlatformTesting.runIde.registering
val customTestIde by intellijPlatformTesting.testIde.registering

Observe that :runIde has the correct plugin layout, but not :customRunIde and :customTestIde

$ ./gradlew :prepareSandbox_customTestIde :prepareSandbox_customRunIde
...
$ ls -ah build/idea-sandbox/**/plugins*

build/idea-sandbox/IC-2024.2/plugins:
drwxr-xr-x   pluginA
drwxr-xr-x   pluginB
drwxr-xr-x   untitled

build/idea-sandbox/IC-2024.2/plugins_customRunIde:
-rw-r--r--   pluginA-base.jar
-rw-r--r--   pluginB-base.jar
drwxr-xr-x   untitled

build/idea-sandbox/IC-2024.2/plugins_customTestIde:
-rw-r--r--   pluginA-base.jar
-rw-r--r--   pluginB-base.jar
drwxr-xr-x   untitled

Gradle IntelliJ Plugin version

2.0.1

Gradle version

8.10

Operating System

None

Link to build, i.e. failing GitHub Action job

No response

@rli rli added the bug label Aug 21, 2024
hsz added a commit that referenced this issue Sep 3, 2024
…orrect for `localPlugin(org.gradle.api.artifacts.ProjectDependency)` #1743
@hsz hsz added this to the next milestone Sep 3, 2024
@hsz
Copy link
Member

hsz commented Sep 3, 2024

Thank you for reporting, Richard!

@hsz hsz closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants