utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
576 stars 39 forks source link

fix: allow godot-kotlin-jvm gradle plugin to participate in multi-module projects #549

Closed MartinHaeusler closed 8 months ago

MartinHaeusler commented 8 months ago

Previously, any attempt at applying the godot-kotlin-jvm gradle plugin to a sub project would fail with a NullPointerException becuase "ideaExtension.project" returns NULL for every gradle project except for the root project. This update addresses the issue by redirecting the task to the root project. This also means that we implicitly have to add the "idea" plugin to the root project as well.

Edit from @chippmann : Fixes: #546