- R1: auth spring-security-oauth2 2.3.4.RELEASE → 2.3.8.RELEASE (api·datatrans 와 일치, 드리프트 해소). - sourceCompatibility 혼재(api·datatrans=11 / auth·batch·front=16) → 17 통일 + common=17. 로컬 JDK17 로 6모듈 compileJava 전부 SUCCESS(--rerun-tasks) — 언어레벨 상향에 따른 예약어/구문 충돌 0. - lombok(1.18.20)·mybatis-spring-boot-starter(2.2.2)·spring-security-jwt(1.0.9)는 이미 전 모듈 동일 (드리프트 없음) → 불필요한 루트 승격 churn 회피, 현행 유지. 동작 등가: 산출 bytecode 타깃만 17로 상향, 의존성 좌표는 최신본으로 정합. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
93 lines
2.9 KiB
Groovy
93 lines
2.9 KiB
Groovy
|
|
plugins
|
|
{
|
|
id 'org.springframework.boot'
|
|
id 'io.spring.dependency-management'
|
|
id 'org.asciidoctor.convert'
|
|
id 'java'
|
|
id 'war'
|
|
}
|
|
|
|
group = 'com.urpsys'
|
|
version = '1.0.0-SNAPSHOT'
|
|
sourceCompatibility = '17'
|
|
|
|
configurations
|
|
{
|
|
|
|
compileOnly
|
|
{
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
// repositories: 루트 build.gradle subprojects 로 승격 (INTEGRATION_DESIGN §2)
|
|
|
|
ext
|
|
{
|
|
set('snippetsDir', file("build/generated-snippets"))
|
|
}
|
|
|
|
dependencies
|
|
{
|
|
implementation project(':common')
|
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
|
implementation 'org.springframework.boot:spring-boot-starter-cache'
|
|
implementation 'org.springframework.boot:spring-boot-starter-integration'
|
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
|
implementation 'org.springframework.boot:spring-boot-starter-quartz'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
implementation ('org.springframework.boot:spring-boot-starter-web')
|
|
{
|
|
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
|
|
}
|
|
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' // DB 처리
|
|
// compileOnly 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' // DB 처리
|
|
|
|
// mariadb connect lib
|
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client' // mariadb 연결처리
|
|
// oracle connect lib
|
|
// implementation group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: '21.8.0.0'
|
|
|
|
// http 통신
|
|
implementation 'org.springframework.boot:spring-boot-starter-undertow'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
|
|
|
|
// log 처리
|
|
compileOnly 'org.projectlombok:lombok:1.18.20'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.20'
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.20'
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.20'
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
implementation 'commons-codec:commons-codec:1.15' // 암호화처리
|
|
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16' // sql log 처리
|
|
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security' // 보안처리
|
|
implementation 'org.springframework.security:spring-security-jwt:1.0.9.RELEASE' // 토크처리
|
|
implementation group: 'org.springframework.security.oauth', name: 'spring-security-oauth2', version: '2.3.8.RELEASE' // spring oauth 2.0
|
|
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.3'
|
|
|
|
}
|
|
|
|
test
|
|
{
|
|
outputs.dir snippetsDir
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
asciidoctor
|
|
{
|
|
inputs.dir snippetsDir
|
|
dependsOn test
|
|
}
|
|
|