-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
49 lines (34 loc) · 1.08 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
apply plugin: 'java'
apply plugin: 'eclipse'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = 11
if (project.hasProperty("projVersion")) {
project.setVersion(projVersion+'-SNAPSHOT')
println "I have the build version: " + version
} else {
project.setVersion('0.0.1-SNAPSHOT')
println "I have the build version: 0.0.1"
}
// name with versioning of the jar file
jar {
baseName = 'buffer'
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
mavenCentral()
flatDir {
dirs 'lib'
}
}
dependencies {
compile name: 'opencsv-3.8'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
// OMS annotation
// https://mvnrepository.com/artifact/org.hortonmachine/hm-gears
implementation group: 'org.hortonmachine', name: 'hm-gears', version: '0.10.4'
}