123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion cfgs.compileSdkVersion
- defaultConfig {
- minSdkVersion cfgs.minSdkVersion
- targetSdkVersion cfgs.targetSdkVersion
- versionCode cfgs.versionCode
- versionName cfgs.versionName
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [AROUTER_MODULE_NAME: project.getName()]
- }
- }
- ndk {
- // 设置支持的SO库架构
- abiFilters 'armeabi', 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
- }
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- multiDexEnabled true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- repositories {
- google()
- flatDir {
- dirs '../BSOCR/libs'
- }
- jcenter()
- maven {
- url "https://maven.google.com"
- }
- }
- aaptOptions {
- noCompress "tflite"
- noCompress "lite"
- }
- kapt {
- arguments {
- arg("AROUTER_MODULE_NAME", project.getName())
- }
- }
- packagingOptions {
- exclude 'okhttp3/internal/publicsuffix/publicsuffixes.gz'
- }
- lintOptions{ abortOnError false }
- dataBinding {
- enabled = true
- }
- }
- dependencies {
- api fileTree(include: ['*.jar'], dir: 'libs')
- api "androidx.appcompat:appcompat:${cfgs.appcompat_version}"
- api "androidx.constraintlayout:constraintlayout:${cfgs.constraintlayout_version}"
- // testApi 'junit:junit:4.12'
- implementation "androidx.appcompat:appcompat:${cfgs.appcompat_version}"
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- implementation 'com.lidong.pdf:android_pdf:1.0.1'
- //implementation ("io.github.lucksiege:pictureselector:${cfgs.pictureselector}"){exclude module: 'com.squareup.okio'}
- // implementation 'com.aliyun.dpa:oss-android-sdk:2.9.5'
- implementation 'com.github.li-xiaojun:XPopup:2.3.8'
- api(name: 'worksheetrecognizer0419', ext: 'aar'){exclude module: 'com.squareup.okio'}
- //阿里路由
- api "com.alibaba:arouter-api:${cfgs.arouter_version}"
- kapt "com.alibaba:arouter-compiler:${cfgs.arouter_version}"
- api project(':BSBase')
- // api project(':BSZxing')
- // implementation project(':BSSpeech')
- implementation project(':BSExcel')
- implementation project(':BSOCR')
- api project(':BSBaiduSpeak')
- implementation files('libs/zicoxPrinter_1_17.jar')
- }
- repositories {
- google()
- }
|