-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
67 lines (51 loc) · 2.07 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
apply plugin: 'java'
apply plugin: 'eclipse'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = '1.8'
// to get project version from command line, just type
// $ gradle -PprojVersion=<version_number> build
// default is na
if (project.hasProperty('projVersion')) {
project.version = project.projVersion
} else {
project.version = 'na'
}
// name with versioning of the jar file
jar {
manifest {
attributes 'Implementation-Title' : 'Gradle Quickstart',
'Implementation-Version': version
}
}
repositories {
maven {
// jai_core 1.1.3
// jai_codec 1.1.3
url 'http://download.osgeo.org/webdav/geotools/'
}
maven {
// hatbox 1.0.b7
url 'http://maven.geo-solutions.it/'
}
mavenCentral() //jgt
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
compile group: 'javax.media', name: 'jai_codec', version: '1.1.3'
compile group: 'javax.media', name: 'jai_core', version: '1.1.3'
compile group: 'javax.media', name: 'jai_imageio', version: '1.1'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-grass
compile group: 'org.jgrasstools', name: 'jgt-grass', version: '0.7.8'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-hortonmachine
compile group: 'org.jgrasstools', name: 'jgt-hortonmachine', version: '0 .7.8'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-jgrassgears
compile group: 'org.jgrasstools', name: 'jgt-jgrassgears', version: '0.7.8'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-modules
compile group: 'org.jgrasstools', name: 'jgt-modules', version: '0.7.8'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-oms3
compile group: 'org.jgrasstools', name: 'jgt-oms3', version: '0.7.8'
compile group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
// https://mvnrepository.com/artifact/joda-time/joda-time
compile group: 'joda-time', name: 'joda-time', version: '2.9.9'
testCompile group: 'junit', name: 'junit', version: '4.+'
}