2016-03-27 14:06:51 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2018-12-12 01:38:28 +01:00
|
|
|
compileSdkVersion 24
|
2016-03-27 14:06:51 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.mamedev.mame"
|
2018-12-12 01:38:28 +01:00
|
|
|
minSdkVersion 24
|
2016-03-27 14:06:51 +02:00
|
|
|
ndk {
|
|
|
|
moduleName 'main'
|
|
|
|
}
|
2023-02-26 19:40:37 +01:00
|
|
|
}
|
2016-03-27 14:06:51 +02:00
|
|
|
|
2023-02-26 19:40:37 +01:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
2016-03-27 14:06:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
jni.srcDirs = []
|
|
|
|
jniLibs.srcDir 'src/main/libs'
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-26 19:40:37 +01:00
|
|
|
|
|
|
|
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
|