| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- plugins {
- id 'com.android.application'
- }
- android {
- compileSdk 31
- defaultConfig {
- applicationId "com.rms.agv"
- minSdk 27
- targetSdk 31
- versionCode 17
- versionName "1.2.7"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- viewBinding {
- enabled = true
- }
- dataBinding {
- enabled = true
- }
- sourceSets.main {
- jni.srcDirs = []//禁用as自动生成mk
- jniLibs.srcDirs = ['libs', 'src/main/jniLibs'] //指定libs目录
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
- implementation 'androidx.appcompat:appcompat:1.3.0'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- implementation 'org.xutils:xutils:3.4.0'
- implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
- implementation "org.greenrobot:eventbus:3.2.0"
- implementation 'com.google.code.gson:gson:2.8.6'
- implementation project(path: ':barcode')
- }
|