mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-05 19:53:36 +00:00
SCSCANGHA-3 Update the condition to detect "build.gradle.kts" files (#71)
This commit is contained in:
parent
6bbd64e0cb
commit
19888635fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue