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"
}