123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 25
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 25
- versionCode 1
- versionName "1.0"
- externalNativeBuild {
- cmake {
- cppFlags ""
- }
- ndk{
- // 打包生成的 APK 文件指挥包含 ARM 指令集的动态库
- abiFilters "armeabi-v7a" /*, "arm64-v8a", "x86", "x86_64"*/
- }
- }
- }
- externalNativeBuild {
- cmake {
- path "CMakeLists.txt"
- }
- }
- ndkVersion '23.0.7599858'
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
- }
- debug {
- jniDebuggable true
- debuggable true
- }
- yufabu {
- jniDebuggable true
- debuggable true
- }
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'//1.1.0
- implementation 'com.google.android.material:material:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
- implementation 'com.alibaba:fastjson:1.1.55.android'
- }
|