forked from andrewoma/kwery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (34 loc) · 1.2 KB
/
build.gradle
File metadata and controls
42 lines (34 loc) · 1.2 KB
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 'com.github.johnrengelman.shadow' version '4.0.4'
id 'application'
}
dependencies {
compile project(':core')
compile project(':mapper')
compile project(':fetcher')
compile project(':transactional-jersey')
compile "org.hsqldb:hsqldb:$hsqlVersion"
compile "io.dropwizard:dropwizard-core:$dropwizardVersion"
compile "io.dropwizard:dropwizard-db:$dropwizardVersion"
compile "io.dropwizard:dropwizard-assets:$dropwizardVersion"
compile "org.hsqldb:hsqldb:$hsqlVersion"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion"
compile "org.postgresql:postgresql:$postgresVersion"
compile "com.github.andrewoma.kommon:kommon:$kommonVersion"
testCompile "io.dropwizard:dropwizard-testing:$dropwizardVersion"
}
shadowJar {
mergeServiceFiles()
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}
mainClassName = 'com.github.andrewoma.kwery.example.film.MainKt'
applicationDefaultJvmArgs = ["-Xmx512m"]
run {
args project.hasProperty("appArgs") ? Eval.me(appArgs) : ['server', 'src/main/resources/dev.yml']
}
jar {
manifest {
attributes('Main-Class': mainClassName, "Implementation-Version": version)
}
}