forked from sarmbruster/neo4j-tei-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (59 loc) · 1.88 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
plugins {
id 'groovy'
id 'com.github.johnrengelman.shadow' version '1.2.3'
id 'idea'
}
idea {
project {
ext.jdkName = '1.8'
ext.languageLevel = '1.8'
}
}
sourceCompatibility=JavaVersion.VERSION_1_8
targetCompatibility=JavaVersion.VERSION_1_8
repositories {
// mavenLocal()
mavenCentral()
//maven { url "http://m2.neo4j.org/content/repositories/releases/" }
maven { url "https://raw.github.com/neo4j-contrib/m2/master/releases" }
}
ext {
neo4jVersion = "2.3.3"
jerseyVersion = "1.19"
// neo4jClientVersion = "1.0.0-M04"
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.6'
compile group: 'org.neo4j', name: 'neo4j-kernel', version: neo4jVersion
compile group: 'org.neo4j', name: 'neo4j-lucene-index', version: neo4jVersion
compile group: 'org.neo4j', name: 'server-api', version: neo4jVersion
compile "org.slf4j:slf4j-api:1.7.20"
// compile group: 'org.neo4j.app', name: 'neo4j-server', version: neo4jVersion
testCompile group: 'org.neo4j.contrib', name: 'neo4j-spock-extension', version: '0.6.0'
// testCompile "org.neo4j.driver:neo4j-java-driver:$neo4jClientVersion"
testCompile group: 'org.neo4j', name: 'neo4j-graphviz', version: neo4jVersion
runtime 'org.glassfish.jersey.media:jersey-media-json-jackson:2.13'
}
version = "1.0.0-SNAPSHOT"
group = "org.neo4j.extension.tei"
shadowJar {
dependencies {
include(dependency('org.codehaus.groovy:groovy-all'))
// include(dependency('org.glassfish.jersey.media:jersey-media-json-jackson'))
}
}
/*
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
// url "file://$buildDir/repo" // change to point to your repo, e.g. http://my.org/repo
url '../m2/snapshots' // TODO: externalize this
}
}
}
*/