Hello , thank you , here my build.gradle :plugins {
id 'org.springframework.boot' version '2.7.4'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id 'java'
id "org.sonarqube" version '3.4.0.2513'
id "org.owasp.dependencycheck" version "6.5.0.1"
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
}
querydsl {
library = 'com.querydsl
querydsl apt5.0.0'
jpa = true
}
configurations {
querydsl.extendsFrom implementation, compileClasspath
}
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}
project.afterEvaluate {
project.tasks.compileQuerydsl.options.compilerArgs = [
"-proc:only",
"-processor", project.querydsl.processors() +
',lombok.launch.AnnotationProcessorHider$AnnotationProcessor'
]
}
sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src/querydsl/java']
}
}
}
sonarqube {
properties {
property "sonar.projectKey", "api-workspaces"
property "sonar.login", "3a2dcfade50c3ef0bd8e1cea3212961a5e2b2355"
property "sonar.host.url", "
https://sonar.rainntest.com
"
property 'sonar.coverage.exclusions', "**/*"
property 'sonar.exclusions', "**/org/rhs/api/workspaces/domain/**"
}
}
group = 'org.rhs.api'
version = '1.0.0'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven { url '
https://repo.spring.io/milestone
' }
}
ext {
set('springCloudVersion', '2021.0.3')
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.security:spring-security-messaging'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-reactor-netty'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'com.querydsl
querydsl jpa5.0.0'
implementation 'com.github.alexliesenfeld
querydsl jpa postgres json0.0.7'
implementation 'com.google.guava
guava31.1-jre'
implementation 'org.redisson
redisson spring boot starter3.17.7'
implementation 'org.redisson
redisson hibernate 533.17.7'
implementation 'com.vladmihalcea
hibernate types 522.19.2'
implementation 'org.apache.poi
poi5.2.3'
implementation 'org.apache.poi
poi ooxml5.2.3'
implementation 'com.opencsv
opencsv5.7.0'
implementation 'com.sun.mail
javax.mail1.6.2'
implementation 'org.apache.commons
commons lang33.12.0'
implementation 'com.twilio.sdk
twilio9.0.1'
implementation 'org.owasp.esapi
esapi2.5.0.0'
//Just this comment to test the triggers, any codes got changes .
//AWS Cognito Dependency
implementation platform('software.amazon.awssdk
bom2.17.293')
implementation 'software.amazon.awssdk:cognitoidentity'
implementation 'software.amazon.awssdk:cognitoidentityprovider'
implementation group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.12.400'
compileOnly 'org.projectlombok:lombok'
implementation 'org.postgresql:postgresql'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud
spring cloud dependencies${springCloudVersion}"
}
}
test {
useJUnitPlatform()
}######