From e2dbbab7326325a84b128d5b9c0d9f5146cae36d Mon Sep 17 00:00:00 2001 From: jay-so Date: Mon, 25 Mar 2024 21:46:29 +0900 Subject: [PATCH] =?UTF-8?q?build:=20SonarCloud=20=EC=9D=98=EC=A1=B4?= =?UTF-8?q?=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- build.gradle | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91bc8b0..b60993c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: 17 - distribution: + distribution: 'temurin' - name: Cache SonarCloud packages uses: actions/cache@v3 with: diff --git a/build.gradle b/build.gradle index 588581a..7513b0e 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,7 @@ plugins { id 'org.springframework.boot' version '3.2.4' id 'io.spring.dependency-management' version '1.1.4' id 'org.flywaydb.flyway' version '8.5.13' + id "org.sonarqube" version "4.4.1.3373" } ext { @@ -55,3 +56,11 @@ dependencyManagement { tasks.named('test') { useJUnitPlatform() } + +sonar { + properties { + property "sonar.projectKey", "eodya_eodya-backend" + property "sonar.organization", "eodya-backend" + property "sonar.host.url", "https://sonarcloud.io" + } +} \ No newline at end of file