56 lines
1.2 KiB
Groovy
56 lines
1.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.neuron.el'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "com.neuron.el"
|
|
minSdk 21
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
cppFlags ""
|
|
arguments "-DANDROID_STL=c++_shared"
|
|
}
|
|
}
|
|
|
|
ndk {
|
|
// Build for the two most relevant ABIs. Add x86/x86_64 for emulator.
|
|
abiFilters "arm64-v8a", "armeabi-v7a", "x86_64"
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "src/main/jni/CMakeLists.txt"
|
|
version "3.22.1"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
jniDebuggable true
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// No third-party dependencies — el-native uses only android.* framework classes.
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
}
|