Skip to content

Commit

Permalink
chore: Add QueryDSL (#2) | Co-authored-by: hyojeongchoi <hyojeong113@…
Browse files Browse the repository at this point in the history
…naver.com>

Co-authored-by: nusuy <[email protected]>
Co-authored-by: Queue-ri <[email protected]>
  • Loading branch information
chaeeun-Han committed Nov 26, 2023
1 parent 7a2a2c8 commit a3f5fc5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'

// PostgreSQL
implementation group: 'org.postgresql', name:'postgresql', version: '42.6.0'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.6.0'

// Hibernate Type Support
implementation 'io.hypersistence:hypersistence-utils-hibernate-55:3.4.3'
Expand All @@ -45,6 +45,23 @@ dependencies {
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-mail', version: '2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'

// QueryDSL
implementation 'com.querydsl:querydsl-jpa:5.0.0'
annotationProcessor(
"javax.persistence:javax.persistence-api",
"javax.annotation:javax.annotation-api",
"com.querydsl:querydsl-apt:5.0.0:jpa"
)
}

// QueryDSL
sourceSets {
main {
java {
srcDirs = ["$projectDir/src/main/java", "$projectDir/build/generated"]
}
}
}

tasks.named('test') {
Expand Down

0 comments on commit a3f5fc5

Please sign in to comment.