138 lines
5.0 KiB
Groovy
138 lines
5.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
exclude 'META-INF/NOTICE'
|
|
exclude 'META-INF/LICENSE'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
}
|
|
|
|
// signingConfigs {
|
|
// defaultSignature {
|
|
//// keyAlias 'key0'
|
|
//// keyPassword 'haotian'
|
|
//// storeFile file('/Users/wangchun/Documents/MyData/project/xianyangwuye/HouseProperty/haotian.jks')
|
|
//// storePassword 'haotian'
|
|
// }
|
|
// }
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
|
|
compileSdkVersion 27
|
|
buildToolsVersion '27.0.3'
|
|
aaptOptions.cruncherEnabled = false
|
|
aaptOptions.useNewCruncher = false
|
|
defaultConfig {
|
|
// multiDexEnabled true
|
|
javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } }
|
|
// multiDexEnabled true
|
|
applicationId "com.sl.HouseProperty"
|
|
minSdkVersion 21
|
|
targetSdkVersion 27
|
|
// multiDexEnabled true
|
|
versionCode 1
|
|
versionName "1.1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
ndk {
|
|
|
|
//选择要添加的对应cpu类型的.so库。
|
|
abiFilters 'armeabi', 'armeabi-v7a', 'armeabi-v8a', "x86"
|
|
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
// signingConfig signingConfigs.defaultSignature
|
|
}
|
|
// debug {
|
|
// signingConfig signingConfigs.defaultSignature
|
|
// }
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
sourceSets {
|
|
main {
|
|
assets.srcDirs = ['src/main/assets', 'src/main/assets/']
|
|
jniLibs.srcDirs = ['libs']
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation 'com.android.support:multidex:1.0.1'
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
testImplementation 'junit:junit:4.12'
|
|
implementation 'com.zhy:percent-support-extends:1.0.1'
|
|
implementation 'com.arialyy.aria:Aria:3.1.1'
|
|
implementation 'com.jcodecraeer:xrecyclerview:1.3.2'
|
|
implementation 'com.youth.banner:banner:1.4.10'
|
|
// implementation 'com.github.bumptech.glide:glide:3.7.0'
|
|
implementation 'skin.support:skin-support:1.2.2'
|
|
implementation 'skin.support:skin-support-design:1.2.1'
|
|
implementation 'com.squareup.retrofit2:retrofit:2.1.0'
|
|
implementation 'com.google.code.gson:gson:2.6.2'
|
|
implementation 'io.reactivex:rxjava:1.1.0'
|
|
implementation 'io.reactivex:rxandroid:1.1.0'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
|
|
implementation 'com.trello:rxlifecycle:+'
|
|
implementation 'com.trello:rxlifecycle-components:+'
|
|
implementation 'com.squareup.picasso:picasso:2.5.2'
|
|
//图片加载框架
|
|
implementation 'com.android.databinding:library:1.1'
|
|
implementation 'com.android.databinding:baseLibrary:1.1'
|
|
implementation 'com.android.databinding:adapters:1.1'
|
|
|
|
|
|
implementation 'com.jzj.view:ObservableScrollView:0.0.2'
|
|
implementation 'com.dalong:refreshlayout:1.0.1'
|
|
implementation 'com.nineoldandroids:library:2.4.0'
|
|
|
|
implementation 'fm.jiecao:jiecaovideoplayer:4.6.3'
|
|
//noinspection GradleCompatible
|
|
implementation 'com.android.support:appcompat-v7:27.0.2'
|
|
implementation 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar'
|
|
implementation 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
|
|
implementation 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'
|
|
implementation 'com.truizlop.sectionedrecyclerview:library:1.0.0'
|
|
implementation 'tech.wangjie:qrcodetools:1.0.0'
|
|
|
|
implementation 'com.android.support:recyclerview-v7:27.0.2'
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
|
|
implementation 'com.google.zxing:core:3.3.0'
|
|
|
|
// implementation(name: 'autil-release', ext: 'aar')
|
|
implementation(name: 'cutil-release', ext: 'aar')
|
|
// implementation(name: 'viewpicker-release', ext: 'aar')
|
|
implementation(name: 'selectpicker-release', ext: 'aar')
|
|
implementation 'com.github.rey5137:material:1.2.5'
|
|
implementation 'com.github.bumptech.glide:glide:4.5.0'
|
|
implementation 'com.github.chrisbanes:PhotoView:2.0.0'
|
|
|
|
implementation 'com.android.support:design:27.1.1'
|
|
|
|
implementation 'net.dankito.richtexteditor:richtexteditor-android:2.0.8'
|
|
implementation(name: 'alipaySdk-15.5.9', ext: 'aar')
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|