2023-04-17 17:58:44 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 26
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.sucstepsoft.ximengjianyu"
|
|
|
|
minSdkVersion 16
|
2023-09-18 17:26:09 +08:00
|
|
|
//noinspection ExpiredTargetSdkVersion
|
2023-04-17 17:58:44 +08:00
|
|
|
targetSdkVersion 26
|
|
|
|
versionCode rootProject.ext.vCode
|
|
|
|
versionName rootProject.ext.vName
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
multiDexEnabled true
|
|
|
|
sourceSets.main {
|
|
|
|
jniLibs.srcDirs = ['libs']
|
|
|
|
}
|
|
|
|
ndk {
|
|
|
|
abiFilters "armeabi", "armeabi-v7a"
|
|
|
|
}
|
|
|
|
// jackOptions {
|
|
|
|
// enabled true
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy {
|
|
|
|
force 'com.android.support:support-v4:26.1.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
|
|
|
implementation files('libs/pinyin4j-2.5.0.jar')
|
|
|
|
implementation files('libs/Msc.jar')
|
|
|
|
implementation files('libs/Sunflower.jar')
|
|
|
|
implementation project(':cm_utils')
|
|
|
|
//noinspection GradleCompatible
|
|
|
|
implementation 'com.android.support:appcompat-v7:26.1.0'
|
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
|
|
implementation 'com.android.support:design:26.+'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.6.0'
|
|
|
|
implementation 'com.j256.ormlite:ormlite-android:5.0'
|
|
|
|
implementation 'com.jakewharton:butterknife:8.5.1'
|
|
|
|
implementation 'com.github.bumptech.glide:glide:3.5.2'
|
|
|
|
implementation 'com.android.support:support-v4:+'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
implementation 'de.greenrobot:eventbus:2.4.0'
|
|
|
|
implementation files('libs/paho-mqtt-client-1.0.1-sources.jar')
|
|
|
|
implementation files('libs/paho-mqtt-client-1.0.1.jar')
|
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.2.0'
|
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
|
|
|
|
implementation 'com.guo.android_extend:android-extend:1.0.5'
|
|
|
|
implementation 'com.koushikdutta.async:androidasync:2.+'
|
|
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
|
|
}
|