buildscript { ext { springBootVersion = '2.4.13' } repositories { mavenCentral() } dependencies { classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}" classpath "io.spring.gradle:dependency-management-plugin:1.0.4.RELEASE" } } subprojects { group = 'com.evps' version = '0.0.1' apply plugin: 'java' apply plugin: 'idea' apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' sourceCompatibility = '1.8' targetCompatibility = '1.8' compileJava.options.encoding = 'UTF-8' repositories { mavenCentral() } // 하위 모듈에서 공통으로 사용하는 세팅 추가 dependencies { // compileOnly 'org.projectlombok:lombok' // annotationProcessor 'org.projectlombok:lombok' // testAnnotationProcessor 'org.projectlombok:lombok' // testImplementation 'org.projectlombok:lombok' implementation 'org.springframework.kafka:spring-kafka' // lombok 라이브러리 추가 시작 compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' testCompileOnly 'org.projectlombok:lombok' testAnnotationProcessor 'org.projectlombok:lombok' // lombok 라이브러리 추가 끝 // testImplementation('org.springframework.boot:spring-boot-starter-test') { // exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' // } } test { useJUnitPlatform() } } project(':evps-common') { bootJar.enabled = false jar.enabled = true dependencies { } } project(':evps-comm-server') { jar.enabled = false dependencies { // implementation project(':evps-common') // implementation 'org.springframework.boot:spring-boot-starter-web' // // testImplementation 'org.springframework.boot:spring-boot-starter-test' // testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0' // testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0' } } project(':evps-consumer') { jar.enabled = false dependencies { // implementation project(':evps-common') // implementation 'org.springframework.boot:spring-boot-starter-web' } }