gradle / ide-smoke-tests

Apache License 2.0
3 stars 2 forks source link

Add a smoke test for pre-compiled groovy scripts #12

Closed britter closed 2 years ago

britter commented 2 years ago

When a build defines pre-compiled groovy scripts in buildSrc IntelliJ fails to find types that are imported into that script from the same source set. The build works on the command line just fine:

Bildschirmfoto 2021-11-18 um 11 06 01

.

donat commented 2 years ago

I'll report this to JetBrains and integrate the smoke test into the existing sample projects.

donat commented 2 years ago

Use-case integrated in https://github.com/gradle/ide-smoke-tests/commit/fb8abf9bb4bf3c40ad4472fd3f5683864bb27734.

donat commented 2 years ago

FYI the issue is reported here: https://youtrack.jetbrains.com/issue/IDEA-283077