Reputation: 1950
I have a scala/sbt project, and there is a build.gradle file from when I was experimenting one time. Intellij saw the build.gradle and has enabled gradle for the project. Can I turn off gradle for the project?
I have deleted my build.gradle and any gradle directories in my project but I keep getting messsages like the below, so I'm guessing there is a setting in intellij I need to turn off.
7:31 pm The IDE modules below were removed by the Gradle import:
knot-alpha
You can open dialog to select the ones you need to restore.
Upvotes: 10
Views: 14232
Reputation: 2067
In addition to Fracisco Mateos answer:
It should be enough to remove the gradle.xml
from the hidden .idea
directory. This will remove the Gradle "nature" of the project in IntelliJ without having to delete all your workspace metadata.
Removing the build.gradle
, settings.gradle
, gradle.properties
and gradle
directory probably isn't necessary, but, of course, makes sense in order to have a clean project.
Upvotes: 24
Reputation: 23052
build.gradle
settings.gradle
gradle.properties
gradle/
.idea/
directoryUpvotes: 13