queryDSL, application 설정, codestyle 설정 추가
This commit is contained in:
12
.editorconfig
Normal file
12
.editorconfig
Normal file
@@ -0,0 +1,12 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.java]
|
||||
max_line_length = 100
|
||||
@@ -36,6 +36,14 @@ dependencies {
|
||||
//geometry
|
||||
implementation 'com.fasterxml.jackson.core:jackson-databind'
|
||||
implementation 'org.locationtech.jts.io:jts-io-common:1.20.0'
|
||||
|
||||
// QueryDSL JPA
|
||||
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
|
||||
|
||||
// Q클래스 생성용 annotationProcessor
|
||||
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta'
|
||||
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
|
||||
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
|
||||
@@ -1 +1,93 @@
|
||||
spring.application.name=kamco-back
|
||||
spring:
|
||||
application:
|
||||
name: kamco-back
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
# -----------------------
|
||||
# local
|
||||
# -----------------------
|
||||
---
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: local
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://10.100.0.10:25432/temp
|
||||
username: temp
|
||||
password: temp123!
|
||||
hikari:
|
||||
minimum-idle: 10
|
||||
maximum-pool-size: 50
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none # 또는 update/create
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: DEBUG
|
||||
|
||||
# -----------------------
|
||||
# dev
|
||||
# -----------------------
|
||||
---
|
||||
server:
|
||||
port: 3333
|
||||
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: dev
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://10.100.0.10:25432/temp
|
||||
username: temp
|
||||
password: temp123!
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none # 또는 update/create
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: INFO
|
||||
|
||||
# -----------------------
|
||||
# prod
|
||||
# -----------------------
|
||||
---
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: prod
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://10.100.0.10:25432/temp
|
||||
username: temp
|
||||
password: temp123!
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none # 또는 update/create
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: WARN
|
||||
|
||||
Reference in New Issue
Block a user