You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
namespace 'com.kongqw.serialportlibrary'
|
|
compileSdk 35
|
|
buildToolsVersion "35.0.0"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 35
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
cppFlags ""
|
|
abiFilters "armeabi-v7a", "arm64-v8a"
|
|
}
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "src/main/cpp/CMakeLists.txt"
|
|
version "3.31.6"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
debuggable true
|
|
jniDebuggable true
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.annotation:annotation:1.7.0'
|
|
}
|