-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (58 loc) · 2.51 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
plugins {
id 'org.springframework.boot' version '2.1.6.RELEASE'
id 'java'
}
apply plugin: 'io.spring.dependency-management'
apply plugin: "groovy"
group = 'dev.nine'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation('io.springfox:springfox-swagger2:2.9.2')
implementation('io.springfox:springfox-swagger-ui:2.9.2')
implementation('org.hibernate.validator:hibernate-validator:6.0.17.Final')
implementation('org.hibernate.validator:hibernate-validator-annotation-processor:6.0.16.Final')
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation "javax.xml.bind:jaxb-api:2.2.11"
implementation "com.sun.xml.bind:jaxb-core:2.2.11"
implementation "com.sun.xml.bind:jaxb-impl:2.2.11"
implementation "javax.activation:activation:1.1.1"
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation("com.squareup.okhttp3:okhttp:4.0.1")
compile('org.springframework.boot:spring-boot-starter-websocket')
compile('org.springframework.boot:spring-boot-starter-amqp')
compile('org.springframework.boot:spring-boot-starter-reactor-netty')
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation("org.spockframework:spock-core:1.2-groovy-2.4")
testImplementation("org.spockframework:spock-spring:1.2-groovy-2.4")
testImplementation("com.athaydes:spock-reports:1.6.1") {
transitive = false // this avoids affecting your version of Groovy/Spock
}
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation group: 'de.flapdoodle.embed', name: 'de.flapdoodle.embed.mongo', version: '2.2.0'
testImplementation group: 'com.icegreen', name: 'greenmail', version: '1.5.0'
}
test {
testLogging {
exceptionFormat = 'full'
}
systemProperty "spring.profiles.active", "nonCI"
}
class ContinuousIntegrationTest extends Test {
ContinuousIntegrationTest() {
systemProperty "spring.profiles.active", "test"
}
}
task ciTest(type: ContinuousIntegrationTest) {}
bootJar {
launchScript()
}