-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
82 lines (64 loc) · 2.93 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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: 'JSB'
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'
implementation group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
// https://mvnrepository.com/artifact/org.hortonmachine/hortonmachine
implementation group: 'org.hortonmachine', name: 'hortonmachine', version: '0.10.4'
// https://mvnrepository.com/artifact/org.hortonmachine/hm-oms3
implementation group: 'org.hortonmachine', name: 'hm-oms3', version: '0.9.0'
// 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-modules
implementation group: 'org.hortonmachine', name: 'hm-modules', 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-gui
implementation group: 'org.hortonmachine', name: 'hm-gui', version: '0.10.4'
// https://mvnrepository.com/artifact/org.hortonmachine/hm-dbs
implementation group: 'org.hortonmachine', name: 'hm-dbs', version: '0.10.4'
// https://mvnrepository.com/artifact/org.hortonmachine/hm-lesto
implementation group: 'org.hortonmachine', name: 'hm-lesto', version: '0.10.4'
// https://mvnrepository.com/artifact/org.hortonmachine/hm-apps
implementation group: 'org.hortonmachine', name: 'hm-apps', version: '0.10.4'
//compile group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
implementation group: 'net.sourceforge.hatbox', name: 'hatbox', version: '1.0.b7'
// https://mvnrepository.com/artifact/junit/junit
implementation group: 'junit', name: 'junit', version: '4.+'
}