Add missing build files and polish dependencies

This commit is contained in:
Marten Deinum
2019-08-28 09:49:27 +02:00
parent c97d93ec7a
commit 4de5aa817f
6 changed files with 42 additions and 6 deletions

View File

@@ -0,0 +1,29 @@
dependencies {
implementation project(':common')
implementation project(':buckpal-application')
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'javax.transaction:javax.transaction-api'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'junit' // excluding junit 4
}
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.0.1'
testImplementation 'org.mockito:mockito-junit-jupiter:2.23.0'
testImplementation 'com.tngtech.archunit:archunit:0.9.3'
testImplementation 'de.adesso:junit-insights:1.1.0'
testImplementation 'org.junit.platform:junit-platform-launcher:1.4.2'
testImplementation 'com.h2database:h2'
testImplementation project(':buckpal-testdata')
}
test {
useJUnitPlatform()
systemProperty 'de.adesso.junitinsights.enabled', 'true'
}

View File

@@ -6,7 +6,6 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'javax.validation:validation-api'
implementation 'javax.transaction:javax.transaction-api' implementation 'javax.transaction:javax.transaction-api'
testImplementation('org.springframework.boot:spring-boot-starter-test') { testImplementation('org.springframework.boot:spring-boot-starter-test') {

View File

@@ -1,5 +1,5 @@
plugins { plugins {
id "org.springframework.boot" version "2.1.5.RELEASE" id "org.springframework.boot" version "2.1.7.RELEASE"
} }
dependencies { dependencies {
@@ -18,6 +18,8 @@ dependencies {
testImplementation 'com.tngtech.archunit:archunit:0.9.3' testImplementation 'com.tngtech.archunit:archunit:0.9.3'
testImplementation 'de.adesso:junit-insights:1.1.0' testImplementation 'de.adesso:junit-insights:1.1.0'
testImplementation 'org.junit.platform:junit-platform-launcher:1.4.2' testImplementation 'org.junit.platform:junit-platform-launcher:1.4.2'
testImplementation 'com.h2database:h2'
} }
test { test {

View File

@@ -0,0 +1,7 @@
dependencies {
implementation project(':buckpal-application')
}

View File

@@ -1,8 +1,8 @@
plugins { plugins {
id "io.spring.dependency-management" version "1.0.6.RELEASE" id "io.spring.dependency-management" version "1.0.8.RELEASE"
} }
allprojects { subprojects {
group = 'io.reflectoring.reviewapp' group = 'io.reflectoring.reviewapp'
version = '0.0.1-SNAPSHOT' version = '0.0.1-SNAPSHOT'
@@ -17,7 +17,7 @@ allprojects {
dependencyManagement { dependencyManagement {
imports { imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:2.1.5.RELEASE") mavenBom("org.springframework.boot:spring-boot-dependencies:2.1.7.RELEASE")
} }
} }

View File

@@ -1,6 +1,5 @@
dependencies { dependencies {
implementation 'org.springframework:spring-context' implementation 'org.springframework:spring-context'
implementation 'org.springframework:spring-core'
implementation 'javax.validation:validation-api' implementation 'javax.validation:validation-api'
} }