Skip to content

Commit 00b1e2d

Browse files
authored
Merge pull request #96 from jagdish-15/add-lint-build
Add gradle wrapper files in detection
2 parents a2ba815 + 8352d6f commit 00b1e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ check_gradle_changes() {
1818
local command="$1"
1919
local message="$2"
2020

21-
if echo "$changed_files" | grep -qE '\.(gradle|gradlew|bat)$|settings\.gradle'; then
21+
if echo "$changed_files" | grep -qE '(\.gradle|gradlew|\.bat|settings\.gradle|gradle-wrapper\.(properties|jar))$'; then
2222
echo "$message"
2323
eval "$command"
2424
exit 0

0 commit comments

Comments
 (0)