-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (34 loc) · 1.03 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
plugins {
id 'java'
id 'war'
}
group 'de.hsfl.group.e'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.7.1'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
compileOnly('javax.enterprise:cdi-api:2.0.SP1')
compileOnly('javax.json.bind:javax.json.bind-api:1.0')
compileOnly('javax.json:javax.json-api:1.1.4')
compileOnly('javax.ws.rs:javax.ws.rs-api:2.1.1')
compileOnly('javax.servlet:javax.servlet-api:4.0.1')
compileOnly('javax.servlet:jstl:1.2')
implementation('org.eclipse.persistence:eclipselink:2.7.9')
implementation("org.glassfish.jersey.core:jersey-client:2.9.1")
// https://mvnrepository.com/artifact/org.postgresql/postgresql
implementation 'org.postgresql:postgresql:42.2.1'
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}