Skip to content

Commit

Permalink
Add support for settings.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
decker378 committed Jun 25, 2018
1 parent 39be689 commit 07f4977
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ val Settings.projectDirectory: File
get() = rootProject.projectDir

fun File.isGradleProject(): Boolean {
return File(absolutePath, "settings.gradle").exists()
return File(absolutePath, "settings.gradle").exists() || File(absolutePath, "settings.gradle.kts").exists()
}

0 comments on commit 07f4977

Please sign in to comment.