Have installed language-gradle package, but build.gradle isn't detected as Gradle file


I’ve installed the language-gradle package, but my Gradle build script, build.gradle, is still not detected as a Gradle file, just a plain text file. Why isn’t it detected as a Gradle file, and what would I have to do to make Atom recognize it as such?


Ah, after installing language-groovy, it’s detected as a Groovy file, which I guess is what I want. I suppose it didn’t work before because language-gradle depends on language-groovy? Can Atom install package dependencies automatically?