-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
86 lines (74 loc) · 2.91 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
import com.github.spotbugs.SpotBugsTask
plugins {
id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'checkstyle'
id "com.github.spotbugs" version "3.0.0"
}
group = 'mops'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven {
url = "https://s3.cs.hhu.de/public/mops/"
metadataSources {
artifact()
}
}
}
def configDir = "${project.rootDir}/quality"
checkstyle {
toolVersion '8.28'
checkstyleTest.enabled = false
configFile file("$configDir/checkstyle/proprastination_checks.xml")
}
spotbugsTest.enabled = false
tasks.withType(SpotBugsTask) {
reports {
xml.enabled = false
html.enabled = true
}
}
dependencies {
implementation 'mops:styleguide:2.2.0'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.keycloak:keycloak-spring-boot-starter:9.0.0'
implementation 'org.keycloak.bom:keycloak-adapter-bom:3.3.0.Final'
implementation 'com.github.javafaker:javafaker:1.0.2'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation 'com.c4-soft.springaddons:spring-security-test-keycloack-addons:1.2.0'
compile 'org.springframework.boot:spring-boot-starter-mail:2.2.5.RELEASE'
compile group: 'org.json', name: 'json', version: '20190722'
compile 'com.opencsv:opencsv:5.1'
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.19'
compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.19'
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5:3.0.4.RELEASE'
compile group: 'org.webjars', name: 'jquery', version: '3.3.1'
compileOnly 'org.projectlombok:lombok'
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.0.0-RC1'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation 'org.springframework.security:spring-security-test'
testImplementation("org.assertj:assertj-core:3.15.0")
implementation 'junit:junit:4.12'
testCompile 'com.tngtech.archunit:archunit:0.13.0'
testCompile 'com.tngtech.archunit:archunit-junit5:0.13.0'
testCompile("org.assertj:assertj-core:3.15.0")
compile group: 'com.h2database', name: 'h2', version: '1.4.200'
}
test {
useJUnitPlatform()
}