Skip to content

Commit

Permalink
chore: Add QueryDSL (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: hyojeongchoi <[email protected]>
Co-authored-by: nusuy <[email protected]>
Co-authored-by: Queue-ri <[email protected]>
  • Loading branch information
4 people committed Nov 26, 2023
1 parent 7a2a2c8 commit 7ab83d5
Showing 1 changed file with 46 additions and 29 deletions.
75 changes: 46 additions & 29 deletions backend/build.gradle
Original file line number Diff line number Diff line change
@@ -1,52 +1,69 @@
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.12'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'java'
id 'org.springframework.boot' version '2.7.12'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}

group = 'com.hamahama'
version = '1.0.0'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'

configurations {
compileOnly {
extendsFrom annotationProcessor
}
compileOnly {
extendsFrom annotationProcessor
}
}

repositories {
mavenCentral()
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'

// PostgreSQL
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'

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

// Hibernate Type Support
implementation 'io.hypersistence:hypersistence-utils-hibernate-55:3.4.3'
// Hibernate Type Support
implementation 'io.hypersistence:hypersistence-utils-hibernate-55:3.4.3'

// ChatGPT
implementation 'io.github.flashvayne:chatgpt-spring-boot-starter:1.0.4'
// ChatGPT
implementation 'io.github.flashvayne:chatgpt-spring-boot-starter:1.0.4'

// AWS SDK
// AWS SDK
implementation ("org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE")

// JWT
implementation 'io.jsonwebtoken:jjwt:0.9.1'
// JWT
implementation 'io.jsonwebtoken:jjwt:0.9.1'

// mail
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'

// mail
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"
)
}

tasks.named('test') {
useJUnitPlatform()
// QueryDSL
sourceSets {
main {
java {
srcDirs = ["$projectDir/src/main/java", "$projectDir/build/generated"]
}
}
}

tasks.named('test') {
useJUnitPlatform()
}

0 comments on commit 7ab83d5

Please sign in to comment.