polished multi-module build

This commit is contained in:
Tom Hombergs
2019-06-29 07:45:02 +02:00
parent b581e6db16
commit b7acb8e299
5 changed files with 3 additions and 11 deletions

View File

@@ -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'

View File

@@ -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'

View File

@@ -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")

View File

@@ -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
}

View File

@@ -1 +0,0 @@
springboot_version=2.1.5.RELEASE