-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
48 lines (41 loc) · 1.28 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
import org.gradle.internal.os.OperatingSystem
plugins {
id 'java'
}
repositories {
maven {
url "https://www.hec.usace.army.mil/nexus/repository/maven-public/"
}
mavenCentral()
}
dependencies {
runtimeOnly 'org.xerial:sqlite-jdbc:3.30.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.0'
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.4.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.4.0"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.4.0"
}
test {
useJUnitPlatform()
if (OperatingSystem.current().isWindows()) {
jvmArgs = ["-Djava.io.tmpdir=c:/temp"]
}
if (OperatingSystem.current().isLinux()) {
jvmArgs = ["-Djava.io.tmpdir=/tmp"]
}
}
build {finalizedBy javadoc }
/*
task runApp(type: JavaExec) {
main = 'hec.ensemble.EnsembleUtility'
classpath = sourceSets.main.runtimeClasspath
jvmArgs = ["-Djava.io.tmpdir=c:/temp"]
args = ["c:/temp/hefs_cache", "30","1","src/test/resources/database/ResSim.db"]
}
task runEnsembleMetrics(type: JavaExec) {
main = 'hec.ensemble.EnsembleUtility'
classpath = sourceSets.main.runtimeClasspath
jvmArgs = ["-Djava.io.tmpdir=c:/temp"]
args = ["c:/temp/hefs_cache", "100","10","C:/temp/ResSim.db"]
}
*/