-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
61 lines (45 loc) · 1.72 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
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
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.21'
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.hortonmachine/hm-hmachine
implementation group: 'org.hortonmachine', name: 'hm-hmachine', version: '0.10.4'
// https://mvnrepository.com/artifact/org.hortonmachine/hm-gears
implementation group: 'org.hortonmachine', name: 'hm-gears', version: '0.10.4'
// https://mvnrepository.com/artifact/org.hortonmachine/hm-modules
implementation group: 'org.hortonmachine', name: 'hm-modules', version: '0.10.4'
implementation group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
testImplementation group: 'junit', name: 'junit', version: '4.+'
}