Skip to content

Commit

Permalink
- update danger file for changed settings gradle script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jan 3, 2025
1 parent 3766749 commit 3d3b53e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3d3b53e

Please sign in to comment.