buildscript {
ext {
springVersion = "3.0.4"
queryDslVersion = "5.0.0"
}
}
...
dependencies {
...
// querydsl
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}:jakarta"
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
...
}
간단하게 build.gradle dependencies 쪽 코드 공유로 마치고자 한다.