-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (50 loc) · 1.82 KB
/
build.gradle
File metadata and controls
67 lines (50 loc) · 1.82 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
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 = 11
// 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 'https://repo.osgeo.org/repository/release'
}
maven {
// hatbox 1.0.b7
url 'http://maven.geo-solutions.it/'
}
mavenCentral() //jgt
flatDir {
dirs 'lib'
}
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.21'
implementation name: 'flanagan'
implementation group: 'javax.media', name: 'jai_codec', version: '1.1.3'
implementation group: 'javax.media', name: 'jai_core', version: '1.1.3'
implementation group: 'javax.media', name: 'jai_imageio', version: '1.1'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-hortonmachine
implementation group: 'org.hortonmachine', name: 'hm-hmachine', version: '0.10.4'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-jgrassgears
implementation group: 'org.hortonmachine', name: 'hm-gears', version: '0.10.4'
// https://mvnrepository.com/artifact/org.jgrasstools/jgt-modules
implementation group: 'org.hortonmachine', name: 'hm-modules', version: '0.10.4'
implementation group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
// Use JUnit test framework
testImplementation 'junit:junit:4.+'
}