diff --git a/build.gradle b/build.gradle index 68ad2167..eb59b0e4 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,33 @@ configurations { } } +repositories { + mavenCentral() +} + +dependencies { + implementation 'org.springframework.boot:spring-boot-starter-data-jpa' + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-validation' + implementation 'org.springframework.boot:spring-boot-starter-aop' + implementation 'org.springframework.boot:spring-boot-starter-mail' + implementation 'org.springframework.boot:spring-boot-starter-data-redis' + implementation 'com.amazonaws:aws-java-sdk-ses:1.12.429' + implementation 'io.jsonwebtoken:jjwt:0.9.1' + implementation 'org.springdoc:springdoc-openapi-ui:1.6.15' + implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE' + implementation 'com.slack.api:slack-api-client:1.29.0' + implementation platform("org.springframework.cloud:spring-cloud-dependencies:2021.0.5") + implementation "org.springframework.cloud:spring-cloud-starter-openfeign" + compileOnly 'org.projectlombok:lombok' + runtimeOnly 'com.h2database:h2' + runtimeOnly 'com.mysql:mysql-connector-j' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' + testImplementation 'io.rest-assured:rest-assured' + testImplementation 'it.ozimov:embedded-redis:0.7.2' +} + jacoco { toolVersion = '0.8.8' } @@ -43,7 +70,7 @@ sonar { property 'sonar.sources', 'src' property 'sonar.language', 'java' property 'sonar.sourceEncoding', 'UTF-8' - property 'sonar.exclusions', '**/test/**, **/resources/**, **/*Application*.java, **/*Controller*.java ,**/config/**, **/dto/**, ' + + property 'sonar.exclusions', '**/test/**, **/resources/**, **/*Application*.java, **/*Controller*.java ,**/config/**,' + '**/exception/**, **/security/**, **/support/**, **/Q*.java' property 'sonar.test.inclusions', '**/*Test.java' property 'sonar.java.coveragePlugin', 'jacoco' @@ -67,7 +94,6 @@ jacocoTestReport { "**/*Application*", "**/*Controller*", "**/config/*", - "**/dto/*", "**/exception/*", "**/security/*", "**/support/*" @@ -101,7 +127,6 @@ jacocoTestCoverageVerification { '**.*Application*', '**.*Controller*', '**.config.*', - '**.dto.*', '**.exception.*', '**.security.*', '**.support.*' @@ -109,30 +134,3 @@ jacocoTestCoverageVerification { } } } - -repositories { - mavenCentral() -} - -dependencies { - implementation 'org.springframework.boot:spring-boot-starter-data-jpa' - implementation 'org.springframework.boot:spring-boot-starter-web' - implementation 'org.springframework.boot:spring-boot-starter-validation' - implementation 'org.springframework.boot:spring-boot-starter-aop' - implementation 'org.springframework.boot:spring-boot-starter-mail' - implementation 'org.springframework.boot:spring-boot-starter-data-redis' - implementation 'com.amazonaws:aws-java-sdk-ses:1.12.429' - implementation 'io.jsonwebtoken:jjwt:0.9.1' - implementation 'org.springdoc:springdoc-openapi-ui:1.6.15' - implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE' - implementation 'com.slack.api:slack-api-client:1.29.0' - implementation platform("org.springframework.cloud:spring-cloud-dependencies:2021.0.5") - implementation "org.springframework.cloud:spring-cloud-starter-openfeign" - compileOnly 'org.projectlombok:lombok' - runtimeOnly 'com.h2database:h2' - runtimeOnly 'com.mysql:mysql-connector-j' - annotationProcessor 'org.projectlombok:lombok' - testImplementation 'org.springframework.boot:spring-boot-starter-test' - testImplementation 'io.rest-assured:rest-assured' - testImplementation 'it.ozimov:embedded-redis:0.7.2' -}