-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
90 lines (70 loc) · 2.97 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
plugins {
id 'org.springframework.boot' version '2.2.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'jacoco'
id 'com.github.kt3k.coveralls' version '2.8.4'
}
group = 'com.sproutt'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
targetCompatibility = '11'
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "Hoxton.SR10")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.h2database:h2'
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.22'
implementation 'org.projectlombok:lombok'
compileOnly "org.projectlombok:lombok"
annotationProcessor "org.projectlombok:lombok"
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'io.springfox:springfox-swagger2:2.8.0'
implementation 'io.springfox:springfox-swagger-ui:2.8.0'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.2'
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.cloud:spring-cloud-starter-aws'
implementation 'org.springframework.cloud:spring-cloud-starter-aws-jdbc'
implementation 'org.springframework.cloud:spring-cloud-starter-aws-messaging'
implementation 'com.drewnoakes:metadata-extractor:2.15.0'
compile group: 'org.springframework', name: 'spring-test', version: '5.1.0.RELEASE'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testAnnotationProcessor 'org.projectlombok:lombok'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
testImplementation('org.springframework.security:spring-security-test')
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform{
excludeTags 'integration'
}
def JASYPT_PASSWORD = project.getProperties()["JASYPT_PASSWORD"]
environment 'JASYPT_PASSWORD', JASYPT_PASSWORD
def AWS_ACCESS_KEY = project.getProperties()["AWS_ACCESS_KEY"]
environment 'AWS_ACCESS_KEY', AWS_ACCESS_KEY
def AWS_SECRET_KEY = project.getProperties()["AWS_SECRET_KEY"]
environment 'AWS_SECRET_KEY', AWS_SECRET_KEY
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}