-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (32 loc) · 974 Bytes
/
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
plugins { id 'java'
}
group 'me.roitgrund'
version '0.0.1'
repositories {
mavenCentral()
}
dependencies {
implementation fileTree(dir: 'lib/jar', include: ['*.jar'])
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
test {
useJUnitPlatform()
}
task runClientWithExampleMesh(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = "me.roitgrund.meshwarpsyphon.MeshWarp"
args 'example-mesh.txt'
jvmArgs '-Djava.library.path=./lib/native'
}
task runClientWithTestMesh(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = "me.roitgrund.meshwarpsyphon.MeshWarp"
args 'test-mesh.txt'
jvmArgs '-Djava.library.path=./lib/native'
}
task runServer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = "me.roitgrund.meshwarpsyphon.TestServer"
jvmArgs '-Djava.library.path=./lib/native'
}