mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 12:21:16 +02:00
40 lines
875 B
Groovy
40 lines
875 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
|
group = 'com.t3tools.terminal'
|
|
version = '0.0.0'
|
|
|
|
android {
|
|
namespace 'expo.modules.t3terminal'
|
|
ndkVersion rootProject.ext.ndkVersion
|
|
compileSdk rootProject.ext.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
|
|
def requestedArchitectures = project.findProperty('reactNativeArchitectures')
|
|
if (requestedArchitectures) {
|
|
ndk {
|
|
abiFilters(*requestedArchitectures.split(','))
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
cppFlags '-std=c++17 -Wall -Wextra -Werror'
|
|
}
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path 'src/main/cpp/CMakeLists.txt'
|
|
version '3.22.1'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':expo-modules-core')
|
|
}
|