SFML/examples/android/app/build.gradle

40 lines
895 B
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "org.sfmldev.android"
2018-02-04 16:43:50 +08:00
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
ndkBuild {
2018-02-04 16:43:50 +08:00
// cppFlags "-std=c++14 -frtti -fexceptions"
}
}
ndk {
abiFilters 'armeabi-v7a'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
ndkBuild {
2018-02-04 16:43:50 +08:00
path "src/main/jni/Android.mk"
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
}