mame/android-project/app/build.gradle
Miodrag Milanović bd59a0d447
Removed local copy of SDL source and update Android build support. (#10899)
* 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.
2023-02-27 05:40:37 +11:00

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