apply plugin: 'java'

if (!hasProperty('mainClass')) {
    ext.mainClass = ''
}

dependencies {
    compile project(':jme3-core')
    compile project(':jme3-plugins')
    compileOnly 'android:android'
}

compileJava {
    // The Android-Native Project requires the jni headers to be generated, so we do that here
    options.compilerArgs += ["-h", "${project.rootDir}/jme3-android-native/src/native/headers"]
}