Skip to content

Commit

Permalink
SCSCANGHA-3 Update the condition to detect "build.gradle.kts" files (#71
Browse files Browse the repository at this point in the history
)
  • Loading branch information
leveretka authored May 8, 2024
1 parent 6bbd64e commit 1988863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ -f "${INPUT_PROJECTBASEDIR%/}/pom.xml" ]]; then
exit 1
fi

if [[ -f "${INPUT_PROJECTBASEDIR%/}/build.gradle" ]]; then
if [[ -f "${INPUT_PROJECTBASEDIR%/}/build.gradle" || -f "${INPUT_PROJECTBASEDIR%/}/build.gradle.kts" ]]; then
echo "Gradle project detected. You should use the SonarQube plugin for Gradle during build rather than using this GitHub Action."
exit 1
fi
Expand Down

0 comments on commit 1988863

Please sign in to comment.