-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (41 loc) · 1.15 KB
/
build.gradle
File metadata and controls
46 lines (41 loc) · 1.15 KB
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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'maven-publish'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '1.4'
compile group: 'commons-lang', name: 'commons-lang', version: '2.4'
compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: '1.9.7'
compile group: 'com.sun.jersey', name: 'jersey-core', version: '1.9'
compile group: 'org.neo4j', name: 'neo4j-kernel', version: '2.0.0'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.6.2'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
group = 'com.nigelsmall'
version = '0.5.0'
jar {
manifest {
attributes 'Implementation-Title': 'geoff', 'Implementation-Version': version
}
}
// gradle publishMavenJavaPublicationToMavenRepository
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
url "../m2/releases"
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.8'
}