forked from OTARIS/MF-REST-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
88 lines (79 loc) · 2.9 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.owasp:dependency-check-gradle:6.0.3'
}
}
plugins {
id 'org.springframework.boot' version '2.3.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id "com.gradleup.static-analysis" version "1.3"
id "com.github.spotbugs" version "4.6.0"
}
group = 'de.metahlfabric'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '14'
repositories {
mavenCentral()
}
apply plugin: 'org.owasp.dependencycheck'
/*
staticAnalysis {
penalty {
}
pmd {
toolVersion = '6.26.0'
}
}
*/
spotbugsMain {
reports {
xml.enabled = false
html.enabled = true
//ignoreFailures = true
//onlyAnalyze = ['de.metahlfabric.Main']
}
}
dependencies {
compileOnly 'net.jcip:jcip-annotations:1.0'
compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.3'
implementation ('org.springframework.boot:spring-boot-starter-data-jpa'){
exclude group: "org.hibernate", module:"hibernate-core"
}
compile 'com.google.api-client:google-api-client:1.30.10'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation "org.hibernate:hibernate-core:5.4.18.Final"
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.security.oauth:spring-security-oauth2:2.0.8.RELEASE'
implementation 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.3.5.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
implementation 'org.springframework.security:spring-security-jwt:1.1.1.RELEASE'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'com.google.code.gson:gson:2.8.6'
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
//implementation 'org.hyperledger.fabric:fabric-gateway-java:1.4.3'
implementation 'org.hyperledger.fabric:fabric-gateway-java:2.2.0'
implementation 'org.postgresql:postgresql:42.2.13'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.11.0'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.10.0.pr3'
implementation 'com.auth0:java-jwt:3.10.3'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'junit:junit:4.13.1'
implementation 'javax.xml.bind:jaxb-api:2.3.0'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation 'org.springframework.security:spring-security-test'
}
bootJar {
mainClassName = 'de.metahlfabric.Main'
}
test {
useJUnitPlatform()
}