123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- plugins {
- id 'com.android.application'
- }
- android {
- signingConfigs {
- ampe {
- storeFile file('D:\\航汇-人脸机sdk\\hh-face.jks')
- storePassword 'Nqj##117521'
- keyAlias 'hemile'
- keyPassword 'Nqj##117521'
- }
- }
- compileSdk 33
- defaultConfig {
- applicationId "com.hh.arome"
- minSdk 21
- targetSdk 33
- versionCode 1
- versionName "1.0.0"
- multiDexEnabled true
- ndk {
- abiFilters "armeabi-v7a" // 指定要ndk需要兼容的架构(这样其他依赖包里mips,x86,armeabi,arm-v8之类的so会被过滤掉)
- }
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.ampe
- applicationVariants.all { variant ->
- variant.outputs.all {
- outputFileName = "k8_v${variant.versionName}.apk"
- }
- }
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.ampe
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
- implementation 'androidx.appcompat:appcompat:1.3.0'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'androidx.multidex:multidex:2.0.1'
- implementation 'org.xutils:xutils:3.9.0'
- implementation 'com.alibaba:fastjson:1.1.45@jar'
- }
|