-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
57 lines (45 loc) · 1.01 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
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.2'
}
}
apply plugin: 'java'
apply plugin: 'java-library-distribution'
apply plugin: 'maven'
apply plugin: 'nexus'
group = 'com.mapzen'
version = '0.2-SNAPSHOT'
defaultTasks = ['clean', 'test', 'install']
repositories {
maven { url 'http://repo.maven.apache.org/maven2' }
}
dependencies {
compile 'org.json:json:20131018'
testCompile 'junit:junit:4.10'
testCompile 'org.apache.commons:commons-io:1.3.2'
testCompile 'org.easytesting:fest-assert-core:2.0M10'
}
def defaultEncoding = 'UTF-8'
compileJava {
options.encoding = defaultEncoding
}
compileTestJava {
options.encoding = defaultEncoding
}
javadoc {
options.encoding = defaultEncoding
}
install {
repositories.mavenInstaller {
pom.artifactId = 'geojson'
}
}
uploadArchives {
repositories.mavenDeployer {
pom.artifactId = 'geojson'
}
}