Do expect behavior if the Gradle buildMeta task la...
# arrow-meta
s
Do expect behavior if the Gradle buildMeta task launch fails with test passing errors?
r
Hi @Slava Kornienko, which version of Intellij IDEA and Gradle plugin are you using?
With: - Intellij IDEA 2019.3.5 - Gradle Plugin 193.7288.26 - Build, Execution, Deployment > Build Tools > Gradle > Build and run: Gradle (Default) - for both options If I create some errors, I see this result:
message has been deleted
Do you get the same message "successful at ... with 6 errors ..." on the console?
s
Copy code
IntelliJ IDEA 2020.2 (Community Edition)
Build #IC-202.6397.94, built on July 27, 2020
Runtime version: 11.0.7+10-b944.20 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Non-Bundled Plugins: PlantUML integration, String Manipulation, com.pandora.plugins.kotlin_converter, mobi.hsz.idea.gitignore, org.jetbrains.kotlin
Yes. build all modules successful but some tests is failing
r
I checked Intellij IDEA 2020.2 and I also get "failed" when having errors:
However the behavior is different because it stops when one of the tasks from
buildMeta
fails
It seems the issue is related to Gradle IDEA Plugin
Maybe you could open an issue for Gradle because it doesn't make sense the message you get
buildMeta
is a Gradle task which depends on other Gradle tasks
s
What version of Idea are you using, with which your
buildMeta
completes successfully? I can try to figure out the problem with the latest version
r
So sorry @Slava Kornienko, I misunderstood your question. I didn't know that result raised without doing changes on Arrow Meta. It's true, Intellij IDEA 2020.2 shows that message with a clean Arrow Meta workspace:
message has been deleted
The errors come from Intellij IDEA because it doesn't understand some sources from tests
For instance:
Copy code
classsss Error
It's used in a test from
meta-test
module
And it finishes successfully because Gradle doesn't raise errors
Just IDEA when trying to show some sources from tests
Thanks for you input!!
Good to know it!
Let's see if there is a way to avoid it
I found a way to avoid it
I created this issue to follow it:
s
I will try to work on that issue later
r
Thank you so much!!
🙂 1
Hi @Slava Kornienko the issue has been fixed in case you want to try it again 🙌
s
Cool!