Skip to content

Commit f5a2324

Browse files
committed
gradle: adopt _bash_it_find_in_ancestor()
1 parent ef16567 commit f5a2324

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

completion/available/gradle.completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
COMP_WORDBREAKS=$(echo "$COMP_WORDBREAKS" | sed -e 's/://g')
2424

2525
function __gradle-set-project-root-dir() {
26-
project_root_dir="$(_find_uncle "settings.gradle" "gradlew")"
26+
project_root_dir="$(_bash_it_find_in_ancestor "settings.gradle" "gradlew")"
2727
return "$?"
2828
}
2929

plugins/available/gradle.plugin.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function gw() {
55
local file="gradlew"
66
local result
77

8-
result="$(_find_uncle "${file}")"
8+
result="$(_bash_it_find_in_ancestor "${file}")"
99

1010
# Call gradle
1111
"${result:-gradle}" $*

0 commit comments

Comments
 (0)