/
build.gradle
41 lines (34 loc) · 1.02 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
apply plugin: 'java'
apply plugin: 'idea'
version = '0.5.0'
libsDirName = '../dist'
repositories {
mavenCentral()
}
configurations {
release
}
dependencies {
compile 'org.neo4j:neo4j:2.3.1'
compile 'org.neo4j.app:neo4j-server:2.3.1'
compile 'javax.ws.rs:javax.ws.rs-api:2.0.1'
compile 'org.eclipse.jetty:jetty-servlets:9.2.11.v20150529'
release 'org.eclipse.jetty:jetty-servlets:9.2.11.v20150529'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.4'
release 'com.fasterxml.jackson.core:jackson-databind:2.6.4'
}
jar {
archiveName = 'ontology.' + extension
// Create a 'fat' jar by including all dependencies
from {
configurations.release.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes('Main-Class': 'org.neo4j.ontologies.server.unmanaged.AnnotationResource',
'Implementation-Title': 'Annotations',
'Implementation-Version': version)
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.6'
}