polished multi-module build
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
dependencies {
|
||||
implementation project(':common')
|
||||
implementation project(':application')
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
||||
api 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
||||
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
dependencies {
|
||||
implementation project(':common')
|
||||
implementation project(':application')
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
api 'org.springframework.boot:spring-boot-starter-web'
|
||||
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
|
||||
@@ -9,17 +9,12 @@ allprojects {
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: 'java-library'
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
configurations {
|
||||
compileOnly {
|
||||
extendsFrom annotationProcessor
|
||||
}
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom("org.springframework.boot:spring-boot-dependencies:2.1.5.RELEASE")
|
||||
|
||||
@@ -9,8 +9,6 @@ dependencies {
|
||||
implementation project(':adapters:persistence')
|
||||
implementation project(':adapters:web')
|
||||
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
|
||||
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
||||
exclude group: 'junit' // excluding junit 4
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
springboot_version=2.1.5.RELEASE
|
||||
Reference in New Issue
Block a user