When trying to build the project on Debian in order to import the project into IntelliJ and work on the project, I get errors during the Gradle configuration phase. Gradle tries to probe the different JDKs installed on the system in order to select the right toolchain. While doing that it fails with some of the directories available under /usr/lib/jvm such as /usr/lib/jvm/openjdk-11/ because they are not proper JVMs. That's normal for Debian at least as the system puts the sources for the installed JVMs to that location in separate directories.
This is also described in this upstream Gradle issue with this merged pull request being the solution. It got merged Nov 12, 2020 while Gradle 6.7 used in this project was release Oct 14, 2020. I'm not sure which Gradle version is the first one to include this fix (maybe 6.7.1 released on Nov 16, 2020), however I suggest to simply upgrade to the currently latest version unless there's a reason not to.
When trying to build the project on Debian in order to import the project into IntelliJ and work on the project, I get errors during the Gradle configuration phase. Gradle tries to probe the different JDKs installed on the system in order to select the right toolchain. While doing that it fails with some of the directories available under
/usr/lib/jvm
such as/usr/lib/jvm/openjdk-11/
because they are not proper JVMs. That's normal for Debian at least as the system puts the sources for the installed JVMs to that location in separate directories.This is also described in this upstream Gradle issue with this merged pull request being the solution. It got merged Nov 12, 2020 while Gradle 6.7 used in this project was release Oct 14, 2020. I'm not sure which Gradle version is the first one to include this fix (maybe 6.7.1 released on Nov 16, 2020), however I suggest to simply upgrade to the currently latest version unless there's a reason not to.