Skip to content

Commit

Permalink
Feat: gradle dependency clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
versatile0010 committed Feb 18, 2024
1 parent 772829a commit 48c07c6
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 73 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ subprojects {
}

dependencies {
//implementation 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
Expand Down
24 changes: 3 additions & 21 deletions daepiro-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dependencies {
implementation project(':daepiro-common')
implementation project(':daepiro-redis')

// spring
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
Expand All @@ -13,37 +14,18 @@ dependencies {
// jpa
api 'org.springframework.boot:spring-boot-starter-data-jpa'

// lombok
annotationProcessor 'org.projectlombok:lombok'

compileOnly 'org.projectlombok:lombok'

runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'

// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'

implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'

implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'com.sun.xml.bind:jaxb-impl:4.0.1'
implementation 'com.sun.xml.bind:jaxb-core:4.0.1'
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'

// cloud
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'

// aop
implementation 'org.springframework.boot:spring-boot-starter-aop'

// fcm
implementation 'com.google.firebase:firebase-admin:9.1.1'

implementation 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'org.jsoup:jsoup:1.14.2'
implementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
}

tasks.named('test') {
Expand Down
29 changes: 3 additions & 26 deletions daepiro-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,17 @@ dependencies {
implementation project(':daepiro-crawler')
implementation project(':daepiro-auth')

implementation 'org.springframework.boot:spring-boot-starter-security'
// spring
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-security'

// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'

// lombok
annotationProcessor 'org.projectlombok:lombok'

compileOnly 'org.projectlombok:lombok'

runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'

testImplementation 'org.springframework.boot:spring-boot-starter-test'

implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'

// cloud
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'

// aop
implementation 'org.springframework.boot:spring-boot-starter-aop'

// fcm
implementation 'com.google.firebase:firebase-admin:9.1.1'

implementation 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'org.jsoup:jsoup:1.14.2'
implementation 'net.sourceforge.htmlunit:htmlunit:2.70.0'
}

tasks.named('test') {
Expand Down
4 changes: 3 additions & 1 deletion daepiro-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ dependencies {
implementation project(':daepiro-core')
implementation project(':daepiro-redis')
implementation project(':daepiro-common')
implementation project(':daepiro-api')
implementation project(':daepiro-api') // todo: remove it

// spring
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

// lombok
compileOnly 'org.projectlombok:lombok'

// swagger
Expand Down
3 changes: 2 additions & 1 deletion daepiro-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ plugins {
}

dependencies {

// spring
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'

// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'

// aop
Expand Down
23 changes: 3 additions & 20 deletions daepiro-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,52 +35,35 @@ dependencies {
// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'

// p6spy
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.5.8'

// validation
implementation 'org.springframework.boot:spring-boot-starter-validation'

// jwt
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'com.sun.xml.bind:jaxb-impl:4.0.1'
implementation 'com.sun.xml.bind:jaxb-core:4.0.1'
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'


// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'

// web
implementation 'org.springframework.boot:spring-boot-starter-web'

// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

// mysql connector
runtimeOnly 'com.mysql:mysql-connector-j'

// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'

// === QueryDsl 시작 ===
// === QueryDsl ===
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// === QueryDsl ===
// === QueryDsl ===
}

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

// === Querydsl 빌드 옵션 (선택사항) ===
// === Querydsl 빌드 옵션 ===
def querydslDir = "$buildDir/generated/querydsl"

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion daepiro-crawler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation'

// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
api 'org.springframework.boot:spring-boot-starter-data-jpa'

//crawling
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
Expand Down
4 changes: 2 additions & 2 deletions daepiro-redis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ plugins {
dependencies {
implementation project(':daepiro-common')

// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'

implementation 'com.fasterxml.jackson.core:jackson-databind'

// test
testFixturesRuntimeOnly group: 'it.ozimov', name: 'embedded-redis', version: '0.7.1'
}

Expand Down

0 comments on commit 48c07c6

Please sign in to comment.