diff options
Diffstat (limited to 'src/modules/java.rs')
-rw-r--r-- | src/modules/java.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/java.rs b/src/modules/java.rs index 0b0feaaca..4ad8ac483 100644 --- a/src/modules/java.rs +++ b/src/modules/java.rs @@ -9,11 +9,11 @@ use crate::utils; /// /// Will display the Java version if any of the following criteria are met: /// - Current directory contains a file with a `.java`, `.class` or `.jar` extension -/// - Current directory contains a `pom.xml`, `build.gradle` or `build.sbt` file +/// - Current directory contains a `pom.xml`, `build.gradle`, `build.gradle.kts` or `build.sbt` file pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let is_java_project = context .try_begin_scan()? - .set_files(&["pom.xml", "build.gradle", "build.sbt"]) + .set_files(&["pom.xml", "build.gradle", "build.gradle.kts", "build.sbt"]) .set_extensions(&["java", "class", "jar"]) .is_match(); |