-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (29 loc) · 924 Bytes
/
build.gradle
File metadata and controls
38 lines (29 loc) · 924 Bytes
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
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 {
archiveBaseName = 'Numerical'
}
// 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.
mavenCentral() //jgt
flatDir {
dirs 'lib'
}
}
dependencies {
implementation files('lib/Mesh.jar')
implementation files('lib/closureequation-1.0.2.jar')
testImplementation 'junit:junit:4.12'
}