added workaround because of https://github.com/JetBrains/gradle-intellij-plugin/issues/537
added workaround because of https://github.com/JetBrains/gradle-intellij-plugin/issues/537

GitOrigin-RevId: 696613cfcc4447f8e459f57f8ab3efef8248c9b2
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community