35 lines
882 B
Groovy
35 lines
882 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
|
|
defaultConfig {
|
|
applicationId "com.kompute.examples.android"
|
|
minSdkVersion 24
|
|
targetSdkVersion 24
|
|
versionCode 1
|
|
versionName "0.0.1"
|
|
externalNativeBuild {
|
|
cmake {
|
|
abiFilters "armeabi-v7a", 'arm64-v8a', 'x86', 'x86_64'
|
|
arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_static'
|
|
}
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path 'src/main/jni/CMakeLists.txt'
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled = false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
ndkVersion '21.3.6528147'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
}
|