-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (50 loc) · 1.15 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
apply plugin: 'java'
apply plugin: 'eclipse'
repositories {
mavenCentral()
maven {
url "http://maven.restlet.com"
}
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.7'
compile 'org.restlet.jse:org.restlet:2.3.5'
compile 'org.restlet.jse:org.restlet.ext.jaxrs:2.3.5'
compile 'org.restlet.jse:org.restlet.ext.jackson:2.3.5'
compile 'org.jdbi:jdbi:2.63.1'
compile 'com.h2database:h2:1.4.188'
compile 'com.google.code.gson:gson:1.7.1'
compile 'commons-cli:commons-cli:1.3.1'
testCompile 'junit:junit:4.12'
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/web-app'
}
}
test {
java {
srcDir 'src/test/java'
}
resources {
srcDir 'src/test/web-app'
}
}
}
jar {
from {
(configurations.runtime).collect {
it.isDirectory() ? it : zipTree(it)
}
}
manifest {
attributes(
"Main-Class": "ls.books.Main",
"Implementation-Version": version,
"Project-URL": projectUrl)
}
}