apply plugin: 'com.android.application' android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { applicationId "com.shuoyue.facerecord" minSdkVersion 16 targetSdkVersion 30 versionCode 1001 versionName "1.0.1" ndk { abiFilters 'armeabi', 'armeabi-v7a','arm64-v8a' } } viewBinding { enabled = true } signingConfigs { debug { storeFile file("key.jks") // 需要修改成您的签名文件路径 storePassword '123456' // 需要修改成您的签名文件密码 keyAlias 'window' // 需要修改成您的签名文件别名 keyPassword '123456' // 需要修改成您的签名文件别名密码 } release { storeFile file("key.jks") // 需要修改成您的签名文件路径 storePassword '123456' // 需要修改成您的签名文件密码 keyAlias 'window' // 需要修改成您的签名文件别名 keyPassword '123456' // 需要修改成您的签名文件别名密码 } } buildTypes { debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.debug debuggable true jniDebuggable true } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release debuggable false jniDebuggable false } } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' //retrofit2// implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'io.reactivex.rxjava2:rxjava:2.2.15' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation files('libs/slf4j-api-1.7.26.jar') implementation files('libs/mina-core-2.0.21.jar') implementation project(path: ':facesdk') implementation 'com.google.code.gson:gson:2.8.6' implementation 'junit:junit:4.12' implementation 'com.tencent.bugly:crashreport:latest.release' debugImplementation 'com.hjq:logcat:5.0'//调试 testImplementation 'com.squareup.leakcanary:leakcanary-android:1.5' implementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5' implementation 'org.greenrobot:eventbus:3.1.1'// }