andy-bell101 / neotest-java

Java plugin for Neotest
MIT License
11 stars 4 forks source link

Gradle Kotlin build files (build.gradle.kts) not recognized to determine project root #6

Closed steffsommer closed 1 year ago

steffsommer commented 1 year ago

Hi,

thank you very much for providing this adapter! I am currently re-evaluating whether I can use Neovim at work and this adapter could prove very beneficial.

I created a empty Spring Project using Spring Initializr with Gradle and Kotlin Build scripts and noticed that the adapter only looks for a build.gradle, but not a build.gradle.kts (Kotlin) file. The kts extension should be supported, because it is the new default in modern gradle development.

Here is the Reproducer-repo. It contains a clean project from Spring initializr with the settings i mentioned above.

Edit: Provided a PR: https://github.com/andy-bell101/neotest-java/pull/9