-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (38 loc) · 1.55 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
plugins {
id 'java'
}
import org.gradle.internal.os.OperatingSystem
project.ext.lwjglVersion = "3.2.2"
switch (OperatingSystem.current()) {
case OperatingSystem.LINUX:
project.ext.lwjglNatives = "natives-linux"
break
case OperatingSystem.MAC_OS:
project.ext.lwjglNatives = "natives-macos"
break
case OperatingSystem.WINDOWS:
project.ext.lwjglNatives = "natives-windows"
break
}
group 'au.edu.federation.calikoleaptest'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation fileTree(dir: 'libs/leap', include: ['LeapJava.jar'])
implementation 'com.google.code.gson:gson:2.8.5'
compile "org.java-websocket:Java-WebSocket:1.4.0"
implementation fileTree(dir: 'libs/caliko/jar', include: ['caliko-1.3.6.jar'])
implementation fileTree(dir: 'libs/caliko/jar', include: ['caliko-visualisation-1.3.6.jar'])
implementation fileTree(dir: 'libs/caliko', include: ['caliko-distribution-1.3.6-sources.jar'])
implementation fileTree(dir: 'libs/caliko/doc', include: ['caliko-distribution-1.3.6-javadoc.jar'])
implementation "org.lwjgl:lwjgl:$lwjglVersion"
implementation "org.lwjgl:lwjgl-glfw:$lwjglVersion"
implementation "org.lwjgl:lwjgl-opengl:$lwjglVersion"
runtimeOnly "org.lwjgl:lwjgl:$lwjglVersion:$lwjglNatives"
runtimeOnly "org.lwjgl:lwjgl-glfw:$lwjglVersion:$lwjglNatives"
runtimeOnly "org.lwjgl:lwjgl-opengl:$lwjglVersion:$lwjglNatives"
}