-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (41 loc) · 1.31 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
group 'com.pl'
version '1.0-SNAPSHOT'
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = 'app.HelloApp'
repositories {
mavenCentral()
}
dependencies {
compile 'com.mashape.unirest:unirest-java:1.4.9'
compile 'oauth.signpost:signpost-core:1.2.1.2'
compile 'com.sparkjava:spark-core:2.5'
compile 'org.pac4j:spark-pac4j:1.2.1'
compile 'org.pac4j:pac4j-openid:1.9.2'
compile 'ch.qos.logback:logback-classic:1.1.7'
compile 'com.samskivert:jmustache:1.13'
compile 'com.google.code.gson:gson:2.7'
compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
compile 'org.jooq:jooq:3.8.1'
compile "org.postgresql:postgresql:9.4.1208"
compile 'com.zaxxer:HikariCP:2.4.6'
compile 'org.flywaydb:flyway-core:4.0.3'
testCompile 'org.mockito:mockito-core:2.2.1'
testCompile 'com.h2database:h2:1.4.191'
testCompile 'junit:junit:4.11'
testCompile 'com.jayway.jsonpath:json-path-assert:2.2.0'
}
task stage {
dependsOn installDist
}
task rundev(type:JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'app.HelloApp'
args "--dev", true
}