forked from jMonkeyEngine/jmonkeyengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
29 lines (25 loc) · 1.07 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
dependencies {
api project(':jme3-core')
api project(':jme3-lwjgl3')
api project(':jme3-desktop')
api project(':jme3-effects')
// https://mvnrepository.com/artifact/net.java.dev.jna/jna
implementation 'net.java.dev.jna:jna:5.10.0'
implementation 'com.nativelibs4java:jnaerator-runtime:0.12'
// Native LibOVR/Oculus support
api "org.lwjgl:lwjgl-ovr:${lwjgl3Version}"
runtimeOnly "org.lwjgl:lwjgl-ovr:${lwjgl3Version}:natives-windows"
// Native OpenVR/LWJGL support
api "org.lwjgl:lwjgl-openvr:${lwjgl3Version}"
implementation "org.lwjgl:lwjgl-openvr:${lwjgl3Version}:natives-linux"
implementation "org.lwjgl:lwjgl-openvr:${lwjgl3Version}:natives-macos"
runtimeOnly "org.lwjgl:lwjgl-openvr:${lwjgl3Version}:natives-windows"
runtimeOnly "org.lwjgl:lwjgl-openvr:${lwjgl3Version}:natives-linux"
runtimeOnly "org.lwjgl:lwjgl-openvr:${lwjgl3Version}:natives-macos"
}
javadoc {
// Disable doclint for JDK8+.
if (JavaVersion.current().isJava8Compatible()){
options.addStringOption('Xdoclint:none', '-quiet')
}
}