SQSCANGHA-20 Add detection of Kotlin Gradle configuration

This commit is contained in:
antoine.vinot
2024-05-21 10:45:32 +02:00
committed by Antoine Vinot
parent 320b72385a
commit 968b486245
3 changed files with 21 additions and 1 deletions

View File

@@ -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