mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
bd59a0d447
* Removed SDL2 source. * Updated gradle. * Updated SDL2 Java support glue code. * Increased minimum supported Android API version to 24. * Updated required asset files for Android app. * Added proper tag for Android logging. * Added SDL2 hint to make BGFX work on Android.
46 lines
893 B
Groovy
46 lines
893 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
|
|
defaultConfig {
|
|
applicationId "org.mamedev.mame"
|
|
minSdkVersion 24
|
|
ndk {
|
|
moduleName 'main'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
sourceSets.main {
|
|
jni.srcDirs = []
|
|
jniLibs.srcDir 'src/main/libs'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
}
|
|
|
|
task copyFiles_bgfx(type: Copy)
|
|
task copyFiles_language(type: Copy)
|
|
|
|
copyFiles_bgfx {
|
|
from '../../bgfx'
|
|
into 'src/main/assets/bgfx'
|
|
include('**/*')
|
|
}
|
|
copyFiles_language {
|
|
from '../../language'
|
|
into 'src/main/assets/language'
|
|
include('**/*.mo')
|
|
}
|
|
|
|
preBuild.dependsOn copyFiles_bgfx
|
|
preBuild.dependsOn copyFiles_language
|