-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (47 loc) · 1.2 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
plugins {
id 'java'
}
group 'zw.co.digitalnomad'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// Konf
implementation 'com.uchuhimo:konf:1.1.2'
// Jte
implementation 'gg.jte:jte:1.12.1'
// MongoDB & Morphia
implementation 'dev.morphia.morphia:morphia-core:2.2.3'
implementation 'org.mongodb:mongodb-driver-sync:4.4.0'
// Javalin
implementation 'io.javalin:javalin-bundle:4.1.1'
// Boilerplate Reduction
annotationProcessor 'org.projectlombok:lombok:1.18.22'
compileOnly 'org.projectlombok:lombok:1.18.22'
// Auth0 JWT
implementation 'com.auth0:java-jwt:3.18.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'zw.co.digitalnomad.Index',
)
}
}
task fatJar(type: Jar) {
manifest.from jar.manifest
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
with jar
}