-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (66 loc) · 2.16 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
plugins {
id 'java'
id 'jacoco'
id 'application'
id 'war'
}
application {
mainClassName = 'at.fhv.teame.Main'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
}
dependencies {
compileOnly('javax.enterprise:cdi-api:2.0.SP1')
implementation('javax.ejb:javax.ejb-api:3.2.2')
compileOnly('javax.ws.rs:javax.ws.rs-api:2.1.1')
compileOnly('javax.servlet:javax.servlet-api:4.0.1')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.mockito:mockito-junit-jupiter:4.4.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
implementation 'org.hibernate:hibernate-core:5.6.5.Final'
implementation 'org.postgresql:postgresql:42.3.3'
implementation 'com.github.Lukyb14:music-shop-sharedlib:1.3.19'
implementation group: 'org.apache.activemq', name: 'activemq-all', version: '5.17.0'
implementation 'org.apache.logging.log4j:log4j-api:2.17.2'
implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5', 'io.jsonwebtoken:jjwt-jackson:0.11.5' // or 'io.jsonwebtoken:jjwt-gson:0.11.5' for gson
implementation 'com.auth0:java-jwt:3.19.2'
// https://mvnrepository.com/artifact/io.swagger.codegen.v3/swagger-codegen-generators
implementation 'io.swagger.codegen.v3:swagger-codegen-generators:1.0.34'
// https://mvnrepository.com/artifact/io.swagger.core.v3/swagger-jaxrs2
implementation 'io.swagger.core.v3:swagger-jaxrs2:2.2.0'
}
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacoco {
toolVersion = "0.8.7"
}
jacocoTestReport {
dependsOn test
reports {
xml.enabled false
csv.enabled false
html.destination file("${buildDir}/jacocoHtml")
}
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes "Main-Class": "at.fhv.teame.Main"
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
application {
mainClass.set('at.fhv.teame.Main')
}