| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion versions.compileSdk
- buildToolsVersion versions.buildTools
- defaultConfig {
- applicationId "com.miekir.ocr"
- minSdkVersion versions.minSdk
- targetSdkVersion versions.targetSdk
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- 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')
- // 权限申请
- //implementation 'com.github.tbruyelle:rxpermissions:0.12'
- compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.8.1@aar'
- // 裁剪图片
- compile 'com.isseiaoki:simplecropview:1.1.8'
- }
|