diff --git a/Dangerfile b/Dangerfile index 61bb9d63a..9de36fbd0 100644 --- a/Dangerfile +++ b/Dangerfile @@ -14,10 +14,10 @@ fail("PR specifies label DO NOT MERGE") if github.pr_labels.any? { |label| label # Warn when there is a big PR warn("Big PR") if git.lines_of_code > 5000 -File.open("settings.gradle", "r") do |file_handle| +File.open("settings.gradle.kts", "r") do |file_handle| file_handle.each_line do |setting| if setting.include? "include" - gradleModule = setting[10, setting.length-12] + gradleModule = setting[10, setting.length-13] # AndroidLint androidLintFile = String.new(gradleModule + "/build/reports/lint-results.xml")