Skip to content

Commit

Permalink
Merge pull request #219 from SKY-HORSE-MAN-POWER/develop
Browse files Browse the repository at this point in the history
[DEPLOYMENT] `timeout` 및 안 쓰는 코드 삭제
  • Loading branch information
chanchanwoong authored Jun 24, 2024
2 parents a73f81a + aafd483 commit 59ba54e
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 422 deletions.
37 changes: 5 additions & 32 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ jar {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.postgresql:postgresql'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
Expand All @@ -55,14 +52,6 @@ dependencies {
// swagger 의존성 주입
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

// Querydsl 의존성 추가
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"

// java.lang.NoClassDefFoundError 대응을 위해 추가
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'

// Quartz 스케쥴러
implementation 'org.springframework.boot:spring-boot-starter-quartz'

Expand All @@ -75,11 +64,13 @@ dependencies {
// Logstash
implementation 'net.logstash.logback:logstash-logback-encoder:6.2'

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

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

runtimeOnly 'org.postgresql:postgresql'
implementation 'org.postgresql:postgresql'

implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
}

tasks.named('bootBuildImage') {
Expand All @@ -88,22 +79,4 @@ tasks.named('bootBuildImage') {

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

//Querydsl Q Class 생성 위치
def generated = 'src/main/generated'

//Querydsl Q Class 생성 위치 지정
tasks.withType(JavaCompile) {
options.getGeneratedSourceOutputDirectory().set(file(generated))
}

//java source set 에 Querydsl Q Class 위치 추가
sourceSets {
main.java.srcDirs += [ generated ]
}

//gradle clean 시, Q Class 디렉토리까지 삭제하도록 설정
clean {
delete file(generated)
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

import java.util.TimeZone;


@SpringBootApplication
@EnableJpaRepositories
@EnableMongoRepositories
@RefreshScope
@EnableDiscoveryClient
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 59ba54e

Please sign in to comment.