-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (34 loc) · 1.24 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
group 'sneakysurgeons.pokecalc'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'application'
repositories {
mavenCentral()
jcenter()
}
mainClassName = "sneakysurgeons.pokecalc.Server"
run {
// hand all Properties through because Gradle will fork the process
systemProperties System.getProperties()
}
// Task that sets up some default values that will make the server load files from disk instead from classpath
// (also provides a default path for the sqlite database)
task(develop, type: JavaExec) {
//noinspection GroovyAssignabilityCheck
main mainClassName
//noinspection GroovyAssignabilityCheck
classpath sourceSets.main.runtimeClasspath
systemProperties([DEVELOP : 'true',
DEVELOP_PATH: "file:///$projectDir/src/main/resources",
SQLITE_PATH : "pokedex.sqlite"])
}
dependencies {
compile "org.takes:takes:0.32.8"
compile 'com.hubspot.jinjava:jinjava:2.1.9'
compile 'com.dieselpoint:norm:0.8.1-rc2'
compile 'org.xerial:sqlite-jdbc:3.8.11.2'
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'ch.qos.logback:logback-classic:1.1.7'
compile 'com.intellij:annotations:12.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}