missing gradle
Answered
I did a fresh install of IntelliJ 2021.2.3 on ubuntu 20.04 using the Toolbox app.
Setting/plug-ins tells me that Gradle is enabled.
View/Tool windows doesn't have any entry for Gradle.
File/New/Project shows no Gradle in the left column and no Gradle Build system for Kotlin.
What am I doing wrong?
Regards
Please sign in to leave a comment.
Hi Soren,
Could you attach your idea.log file generated with Help | Show Log in... after restarting the IDE? I'll take a look. To keep it private, you can upload the file to https://uploads.jetbrains.com/ and provide the upload id.
Could you also attach a screenshot of your current Gradle project tree?
Upload id: 2021_10_21_Ppzz6a4bBcZGe6dy (file: idea.log)
Not sure what you mean with Gradle project tree. I'm just trying the jetbrains multiplatform lib and I need Gradle as the build system.
Thanks for helping :-)
Hi Soren,
Make sure you enable the following bundled plugin:
That's the problem, I don't have these plugins
Quit the IDE and try deleting the disabled_plugins.txt file from the IDE config directory. This should launch IntelliJ IDEA with all plugins enabled by default.
Hi,
deleting the disabled_plugins.txt seemed to do it!
Thanks for the help
Regards
Soren
Great news Soren. Happy to help.
Hi, I have that problem, deleted the disabled_plugins.txt file, and the plugin is enabled. but it does not help
The Gradle tool window only is visible when a Gradle project is created and opened in the IDEA. For example, just click File > New Project, then select Kotlin Multiplatform, after the creation of the project, the project will be opened, and the Gradle tool window will be visible(also tested on Ubuntu 22.04).
See the screenshot below(you may see there is the Gradle settings), also you may provide a minimium sample project for us:
Hi i also have the same problem, no gradle menu on new project.
i dont see the disabled_plugins.txt file.
I do not want to use Kotlin Multiplatform because i want to use Java. Please help.
The disabled_plugins.txt file is here: C:\Users\yourname\AppData\Roaming\JetBrains\IntelliJIdea2022.3\disabled_plugins.txt .
The new project has a location to choose the Gradle build system:
Deleting "disabled_plugins.txt" works for me. The entry "Gradle" appears again in "Views / Tool Windows". Remember to restart the IDE. This issue is a bug and needs fixing.
IntelliJ 2023.1.2
Hello,
I have the same issue but only for scala:
But for java it shows gradle:
I deleted the disabled.txt but didn't fix the issue for me.
Hinaljogani02 There is no support for creating new Gradle Scala projects at the moment. You can import the existing projects from build.gradle file.
Here is the related issue: https://youtrack.jetbrains.com/issue/SCL-20408/Cannot-create-new-module-with-Scala-gradle.