-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
92 lines (75 loc) · 2.88 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
91
92
plugins {
id 'org.springframework.boot' version '2.5.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'info.solidsoft.pitest' version '1.5.1'
id 'groovy'
}
group = 'com'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
jar {
manifest {
attributes(
'Main-Class': 'com.zpi.ZpiServiceApplication'
)
}
}
ext {
junitVersion = '5.7.2'
spockVersion = '2.0-M4-groovy-3.0'
groovyVersion = '3.0.6'
openApiUiVersion = '1.5.9'
jsonwebtokenVersion = '0.11.2'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-mail:1.2.0.RELEASE'
implementation('org.springframework.boot:spring-boot-starter-data-jpa')
implementation('org.springframework.boot:spring-boot-devtools')
implementation('org.springframework.boot:spring-boot-starter-data-rest')
implementation('org.springframework.boot:spring-boot-starter-web')
implementation('org.springframework.boot:spring-boot-starter-security')
implementation('org.springframework.security:spring-security-crypto')
implementation('org.springframework.boot:spring-boot-starter-validation')
implementation("org.springdoc:springdoc-openapi-ui:${openApiUiVersion}")
implementation('com.google.zxing:core:3.3.3')
implementation('com.google.zxing:javase:3.3.0')
implementation("io.jsonwebtoken:jjwt-impl:${jsonwebtokenVersion}")
implementation("io.jsonwebtoken:jjwt-api:${jsonwebtokenVersion}")
implementation("io.jsonwebtoken:jjwt-jackson:${jsonwebtokenVersion}")
compileOnly('org.projectlombok:lombok')
runtimeOnly('com.h2database:h2')
annotationProcessor('org.projectlombok:lombok')
testImplementation(platform("org.junit:junit-bom:${junitVersion}"))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation("org.spockframework:spock-core:${spockVersion}")
testImplementation("org.spockframework:spock-spring:${spockVersion}")
testImplementation("org.codehaus.groovy:groovy:${groovyVersion}")
testImplementation("org.codehaus.groovy:groovy-json:${groovyVersion}")
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
// testImplementation( "com.athaydes:spock-reports:2.1.1-groovy-3.0" ) {
// transitive = false // this avoids affecting your version of Groovy/Spock
// }
// // if you don't already have slf4j-api and an implementation of it in the classpath, add this!
// testImplementation 'org.slf4j:slf4j-api:1.7.30'
// testRuntimeClasspath 'org.slf4j:slf4j-simple:1.7.30'
}
test {
useJUnitPlatform()
}
pitest {
junit5PluginVersion = '0.12'
}
task buildUI(type: Exec) {
commandLine './scripts/buildUI.sh'
}