Skip to content

Commit

Permalink
build: SonarCloud 의존성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-so committed Mar 25, 2024
1 parent ecf1235 commit e2dbbab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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"
}
}

0 comments on commit e2dbbab

Please sign in to comment.