mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-01-31 08:53:23 +03:00
SQSCANGHA-20 Add detection of Kotlin Gradle configuration
This commit is contained in:
committed by
Antoine Vinot
parent
320b72385a
commit
968b486245
@@ -25,7 +25,7 @@ if [[ -f "${INPUT_PROJECTBASEDIR%/}/pom.xml" ]]; then
|
||||
to get more accurate results."
|
||||
fi
|
||||
|
||||
if [[ -f "${INPUT_PROJECTBASEDIR%/}/build.gradle" ]]; then
|
||||
if [[ -f "${INPUT_PROJECTBASEDIR%/}/build.gradle" || -f "${INPUT_PROJECTBASEDIR%/}/build.gradle.kts" ]]; then
|
||||
echo "WARNING! Gradle project detected. Sonar recommends using the SonarQube plugin for Gradle during the build process instead of using this GitHub Action
|
||||
to get more accurate results."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user