-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathbuild.gradle
49 lines (43 loc) · 1.71 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
evaluationDependsOn(':')
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springboot2Version}")
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
apply plugin: 'org.springframework.boot'
apply plugin: "io.spring.dependency-management"
dependencies {
implementation(
project(":wingtips-zipkin2-spring-boot2-webflux"),
"ch.qos.logback:logback-classic:$logbackVersion",
"org.springframework.boot:spring-boot-dependencies:$springboot2Version",
"org.springframework.boot:spring-boot-starter-webflux",
)
compileOnly(
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
)
testImplementation(
"junit:junit:$junitVersion",
"org.mockito:mockito-core:$mockitoVersion",
"ch.qos.logback:logback-classic:$logbackVersion",
"org.assertj:assertj-core:$assertJVersion",
"com.tngtech.java:junit-dataprovider:$junitDataproviderVersion",
"io.rest-assured:rest-assured:$restAssuredVersion",
// Thanks Springboot BOM! :/
// https://stackoverflow.com/questions/44993615/java-lang-noclassdeffounderror-io-restassured-mapper-factory-gsonobjectmapperfa
"io.rest-assured:json-path:$restAssuredVersion",
"io.rest-assured:xml-path:$restAssuredVersion",
// The jaxb-api is needed for building on the java 11 JDK as these classes were moved out of the Java SE libs.
"javax.xml.bind:jaxb-api:$jaxbApiVersion",
)
}
apply plugin: "application"
mainClassName = "com.nike.wingtips.springboot2webfluxsample.Main"
run {
systemProperties = System.getProperties()
}