File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4646 gradle-version : wrapper
4747 - name : Setup format tools
4848 run : |
49- ./gradlew --dry-run # download wrapper if needed
49+ ./gradlew --dry-run -q # download wrapper if needed
5050 export DETEKT_VERSION=$(./gradlew --console plain -q printDetektVersion)
5151 export KTLINT_VERSION=$(./gradlew --console plain -q printKtlintVersion)
5252 ./scripts/install-format-tools.sh
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ if [[ "$KTLINT_VERSION" == "" ]]; then
77 echo " Provide ktlint version in KTLINT_VERSION env variable"
88 exit 1
99fi
10+ mkdir ${HOME} /.local/bin
1011echo " Installing detekt $DETEKT_VERSION "
1112jar_destination=" ${HOME} /.local/lib/detekt"
1213mkdir -p ${jar_destination}
@@ -20,5 +21,5 @@ chmod +x "$entrypoint_script"
2021detekt-cli --version
2122
2223echo " Installing ktlint $KTLINT_VERSION "
23- curl -sSLO " https://github.com/pinterest/ktlint/releases/download/$KTLINT_VERSION /ktlint" && chmod a+x ktlint && mv ktlint ~ /.local/bin/
24+ curl -sSLO " https://github.com/pinterest/ktlint/releases/download/$KTLINT_VERSION /ktlint" && chmod a+x ktlint && mv ktlint ${HOME} /.local/bin/
2425ktlint --version
You can’t perform that action at this time.
0 commit comments