-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
74 lines (64 loc) · 2.17 KB
/
build.gradle
File metadata and controls
74 lines (64 loc) · 2.17 KB
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
plugins {
id 'org.springframework.boot' version '2.2.6.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'jacoco'
}
group = 'com.fredriksonsound'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '14'
repositories {
mavenCentral()
}
dependencies {
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.2'
compile group: 'de.rtner', name: 'PBKDF2', version: '1.1.0'
compile group: 'mysql', name: 'mysql-connector-java'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-jdbc', version: '2.2.6.RELEASE'
compile group: 'org.springframework.data', name: 'spring-data-jpa', version: '2.2.6.RELEASE'
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.4.14.Final'
compile group: 'com.google.code.gson', name: 'gson', version: '2.7'
compile group: 'javax.persistence', name: 'javax.persistence-api', version: '2.2'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation 'junit:junit:4.12'
implementation 'junit:junit:4.12'
implementation 'junit:junit:4.12'
implementation 'junit:junit:4.12'
implementation 'junit:junit:4.12'
testImplementation('junit:junit:4.13')
testCompile group: 'com.h2database', name: 'h2', version: '1.3.148'
}
test {
systemProperty "AUTH_ENVIRONMENT", "TEST"
jacoco {
destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
classDumpDir = file("$buildDir/jacoco/classpathdumps")
}
useJUnitPlatform()
}
test.finalizedBy(jacocoTestReport)
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination file("${buildDir}/jacocoHtml")
}
afterEvaluate {
classDirectories.setFrom(
files(classDirectories.files.collect {
fileTree(dir: it,
exclude: ['**/*Environment*.*',
'**/*AppConfig*.*',
'**/*IotBackofficeAuthApplication*.*',
])
})
)
}
}