itsm_ysm/common/build.gradle
itms-merge-dev 1ef71899ee build(itms): 버전 통일 — oauth2 2.3.8 단일화 + Java 17 source (R1, INTEGRATION_DESIGN §3-3)
- 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>
2026-07-17 17:45:00 +09:00

38 lines
1.6 KiB
Groovy

// ITMS 통합 common 모듈 (INTEGRATION_DESIGN.md §2, §3-2)
// 5개 모듈에 복붙 포크되어 있던 공통 클래스(behavior-identical 확인분)를 단일화.
// 플레인 Java 라이브러리 — Boot 애플리케이션 아님(bootJar/bootWar 미생성).
plugins {
id 'io.spring.dependency-management'
id 'java'
}
group = 'com.urpsys'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '17' // 통합 toolchain 17 (INTEGRATION_DESIGN §3-3)
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:2.6.2"
}
}
// repositories: 루트 build.gradle subprojects 로 승격
dependencies {
implementation 'org.springframework.boot:spring-boot-starter' // spring-core / spring-context (ClassPathResource, @Configuration/@Bean)
implementation 'org.springframework.boot:spring-boot-starter-json' // jackson-databind (ConvertUtils)
implementation 'org.springframework.boot:spring-boot-starter-jdbc' // spring-jdbc + HikariCP (DataSourceUtil)
implementation 'org.springframework.security:spring-security-crypto' // PasswordEncoder / BCrypt (PasswordEncoderConfig)
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' // SqlSessionFactoryBean (DataSourceUtil)
implementation 'commons-codec:commons-codec:1.15' // Aes256Cipher / EncryptConfig
implementation 'com.konghq:unirest-java:3.7.02' // kong.unirest.json (ConvertUtils)
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
}