A Gradle cannot fingerprint one of its input properties due to NotSerializableException: org.jetbrains.intellij.platform.gradle.models.ProductInfo$LayoutItem. This blocks :buildPlugin and :test but not :compileJava. Only happens in 242.10180.25-EAP-SNAPSHOT, not in 2024.1.
I suspect this is due to the use of org.jetbrains.intellij.platform.module plugin in frontend/ui/impl/build.gradle.kts (rather than org.jetbrains.intellij.platform.base, as in other subprojects). Still, the tests present in frontend/ui/impl don't seem to have access to IntelliJ classes without the use of org.jetbrains.intellij.platform.module.
What happened?
A Gradle cannot fingerprint one of its input properties due to
NotSerializableException: org.jetbrains.intellij.platform.gradle.models.ProductInfo$LayoutItem
. This blocks:buildPlugin
and:test
but not:compileJava
. Only happens in 242.10180.25-EAP-SNAPSHOT, not in 2024.1.Relevant log output or stack trace
Steps to reproduce
Check out https://github.com/VirtusLab/git-machete-intellij-plugin/pull/1859 and run
./gradlew :buildPlugin
.I suspect this is due to the use of
org.jetbrains.intellij.platform.module
plugin infrontend/ui/impl/build.gradle.kts
(rather thanorg.jetbrains.intellij.platform.base
, as in other subprojects). Still, the tests present infrontend/ui/impl
don't seem to have access to IntelliJ classes without the use oforg.jetbrains.intellij.platform.module
.Gradle IntelliJ Plugin version
2.0.0-beta4
Gradle version
8.7
Operating System
None
Link to build, i.e. failing GitHub Action job
https://app.circleci.com/pipelines/github/VirtusLab/git-machete-intellij-plugin/10093/workflows/8b43be16-549c-4c65-b850-feee93e1f557/jobs/10536