forked from Sasti/Prefuse
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
59 lines (48 loc) · 1.18 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
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "groovy"
apply plugin: 'maven-publish'
wrapper {
gradleVersion='2.1'
}
sourceCompatibility=1.8
targetCompatibility=1.8
version="0.1-SNAPSHOT"
group = "org.prefux"
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven {
name "fileRelease"
url "file:///usr/local/share/mvn/release"
}
maven {
name "fileSnapshot"
url "file:///usr/local/share/mvn/snapshot"
}
}
dependencies {
compile "org.apache.lucene:lucene-core:4.10.1"
compile 'org.apache.lucene:lucene-queryparser:4.10.1'
compile 'org.apache.lucene:lucene-analyzers-common:4.10.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.1'
compile "org.codehaus.groovy:groovy-all:2.3.6"
/// compile "org.neo4j:neo4j:2.1.3"
testCompile "org.spockframework:spock-core:0.7-groovy-2.0"
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
if(project.version.endsWith('-SNAPSHOT')) {
add project.repositories.fileSnapshot
} else {
add project.repositories.fileRelease
}
}
}