| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion versions.compileSdk
- buildToolsVersion versions.buildTools
- defaultConfig {
- applicationId "com.miekir.ocr"
- minSdkVersion versions.minSdk
- targetSdkVersion versions.targetSdk
- versionCode 16
- versionName "1.0.16"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- signingConfigs {
- config {
- storeFile file('commonkey')
- storePassword "away6899458"
- keyAlias "sz"
- keyPassword "away6899458"
- }
- }
- buildTypes {
- debug {
- debuggable true
- minifyEnabled false
- signingConfig signingConfigs.config
- }
- release {
- debuggable true
- minifyEnabled false
- signingConfig signingConfigs.config
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- android.applicationVariants.all { variant ->
- variant.outputs.all {
- outputFileName = "NRI AIOCR-${defaultConfig.versionName}-${defaultConfig.versionCode}-${releaseTime()}.apk"
- }
- }
- }
- def static releaseTime() {
- return new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation project(path: ':cameraview')
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- compile project(path: ':common')
- implementation project(path: ':network')
- implementation project(path: ':mvp')
- implementation project(path: ':adapter')
- // 权限申请
- compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.8.1@aar'
- // 裁剪图片
- //compile 'com.isseiaoki:simplecropview:1.1.8'
- //api 'com.theartofdev.edmodo:android-image-cropper:2.8.+'
- // 图片选择
- //implementation 'com.zhihu.android:matisse:0.5.2'
- implementation 'com.zhihu.android:matisse:0.5.3-beta3'
- //startActivityForResult
- //implementation 'com.github.VictorAlbertos:RxActivityResult:0.5.0-2.x'
- // 图片压缩
- //implementation 'id.zelory:compressor:2.1.0'
- implementation 'top.zibin:Luban:1.1.8'
- //compile 'me.shaohui.advancedluban:library:1.3.5'
- // crash捕获
- implementation 'cn.yc:ToolLib:1.2.0'
- //api 'com.otaliastudios:cameraview:2.6.4'
- }
|