-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (58 loc) · 1.4 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
buildscript {
repositories {
ivy {
url 'http://dsweb.lasp.colorado.edu/ivy'
}
jcenter()
}
dependencies {
classpath 'lasp:publishing-plugin:1.2.0'
classpath 'lasp:environment-plugin:1.3.0'
classpath 'lasp:gitflow-plugin:1.7.0'
classpath 'lasp:utils-plugin:1.3.0'
}
}
apply plugin: 'lasp.publishing'
apply plugin: 'lasp.environment'
apply plugin: 'lasp.gitflow'
apply plugin: 'lasp.utils'
apply plugin: 'scala'
lasp.utils.enableIncrementalCompilation(project)
repositories {
ivy {
url "http://dsweb.lasp.colorado.edu/ivy"
}
maven {
url "http://download.osgeo.org/webdav/geotools/"
}
maven {
url "http://maven.geo-solutions.it"
}
mavenCentral()
}
dependencies {
lasp.environment {
dev {
compile project(":latis")
}
prod {
compile 'lasp:latis:2.31.0'
}
}
compile 'org.geotools:gt-geotiff:14.2'
compile 'org.geotools:gt-epsg-hsql:14.2'
compile 'org.geotools:gt-swing:14.2'
compile 'org.geotools:gt-image:14.2'
testCompile 'junit:junit:4.+'
}
publishing {
publications {
main(IvyPublication) {
organisation 'lasp'
module 'latis-geo'
revision gitflow.getVersion(project).toString()
from components.java
}
}
}
task wrapper(type: Wrapper) { gradleVersion = '2.12' }