mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
40 lines
872 B
Groovy
40 lines
872 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
defaultConfig {
|
|
applicationId "org.sfmldev.android"
|
|
minSdkVersion 14
|
|
targetSdkVersion 19
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
cppFlags "-std=c++17"
|
|
}
|
|
|
|
}
|
|
ndk {
|
|
abiFilters 'armeabi-v7a'
|
|
}
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
path "src/main/jni/Android.mk"
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
}
|