Is it possible to get an out-of-the-box Gradle set...
# announcements
g
Is it possible to get an out-of-the-box Gradle setup with Intellij? I'm really struggling with this.
s
IntelliJ has out-of-the-box support for Gradle projects https://www.jetbrains.com/help/idea/getting-started-with-gradle.html
g
It doesn't seem to create the src/ directory structure.
Even with only selecting the Java libraries I only get a directory with build.gradle and settings.gradle
Okay, seems those docs are outdated due to recent changes.
s
Right-click on the project root then
New | Directory
then a dialog, to specify the name, will appear, with some suggestions like
/src/main/kotlin
☝️ 1
g
okay, I think it's because gradle build fails.
Although it doesn't say why...
okay, had to install gradle, create the project, then run
gradle wrapper
in the project directory