You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1014 B
29 lines
1014 B
if (!hasProperty('mainClass')) {
|
|
ext.mainClass = ''
|
|
}
|
|
|
|
def lwjglVersion = '3.2.1'
|
|
|
|
sourceCompatibility = '1.8'
|
|
|
|
dependencies {
|
|
compile project(':jme3-core')
|
|
compile project(':jme3-lwjgl3')
|
|
compile project(':jme3-effects')
|
|
|
|
// https://mvnrepository.com/artifact/net.java.dev.jna/jna
|
|
compile group: 'net.java.dev.jna', name: 'jna', version: '4.3.0'
|
|
compile 'com.nativelibs4java:jnaerator-runtime:0.12'
|
|
|
|
// Native LibOVR/Oculus support
|
|
compile "org.lwjgl:lwjgl-ovr:${lwjglVersion}"
|
|
runtime "org.lwjgl:lwjgl-ovr:${lwjglVersion}:natives-windows"
|
|
|
|
// Native OpenVR/LWJGL support
|
|
compile "org.lwjgl:lwjgl-openvr:${lwjglVersion}"
|
|
compile "org.lwjgl:lwjgl-openvr:${lwjglVersion}:natives-linux"
|
|
compile "org.lwjgl:lwjgl-openvr:${lwjglVersion}:natives-macos"
|
|
runtime "org.lwjgl:lwjgl-openvr:${lwjglVersion}:natives-windows"
|
|
runtime "org.lwjgl:lwjgl-openvr:${lwjglVersion}:natives-linux"
|
|
runtime "org.lwjgl:lwjgl-openvr:${lwjglVersion}:natives-macos"
|
|
} |