forked from UNH-Robotics/OMAB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (40 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
49
50
51
52
53
group 'OMAB'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = "edu.unh.cs.ai.omab.MainKt"
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}
sourceSets {
main.java.srcDirs += file('src/main/kotlin')
test.java.srcDirs += file('src/test/kotlin')
}
task execute(type: JavaExec) {
main = 'edu.unh.cs.ai.omab.MainKt'
def argList = ["results/resultT.dat"]
args = argList
classpath = sourceSets.main.runtimeClasspath
}
task plot(type: Exec) {
workingDir 'scripts'
commandLine 'python3', 'omab_plot.py'
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile group: 'org.apache.mahout', name: 'mahout-core', version: '0.9'
testCompile group: 'junit', name: 'junit', version: '4.12'
}