apply plugin: 'com.android.library'
|
|
dependencies {
|
// api fileTree(include: '*.jar', dir: 'libs')
|
api 'androidx.multidex:multidex:2.0.1'
|
api 'com.squareup.okhttp3:okhttp:3.8.1'
|
api 'androidx.legacy:legacy-support-v4:1.0.0'
|
api 'com.github.bumptech.glide:glide:4.9.0'
|
api 'com.google.code.gson:gson:1.7.1'
|
api files('libs/universal-image-loader-1.9.5.jar')
|
api files('libs/android-query-full.0.26.7.jar')
|
// api 'com.github.giswangsj:AndRatingBar:1.0.3'
|
api files('libs/AndRatingBar-1.0.3.aar')
|
// api 'com.loopj.android:android-async-http:1.4.9'
|
|
api 'com.alibaba.baichuan.sdk:alibctradecommon:5.0.0.13'
|
|
api 'com.alibaba:fastjson:1.1.71.android'
|
|
//动画库
|
implementation 'com.github.ybq:Android-SpinKit:1.4.0'
|
|
//statusbar工具,https://gitcode.net/mirrors/laobie/statusbarutil
|
api 'com.jaeger.statusbarutil:library:1.5.1'
|
|
api 'com.github.youlookwhat:ByRecyclerView:1.3.0'
|
|
}
|
|
android {
|
compileSdkVersion 29
|
buildToolsVersion '28.0.3'
|
defaultConfig {
|
minSdkVersion 16
|
targetSdkVersion 29
|
}
|
sourceSets {
|
main {
|
manifest.srcFile 'AndroidManifest.xml'
|
java.srcDirs = ['src']
|
resources.srcDirs = ['src']
|
aidl.srcDirs = ['src']
|
renderscript.srcDirs = ['src']
|
res.srcDirs = ['res']
|
assets.srcDirs = ['assets']
|
}
|
|
|
// Move the build types to build-types/<type>
|
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
|
// This moves them out of them default location under src/<type>/... which would
|
// conflict with src/ being used by the main source set.
|
// Adding new build types or product flavors should be accompanied
|
// by a similar customization.
|
debug.setRoot('build-types/debug')
|
release.setRoot('build-types/release')
|
}
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_7
|
targetCompatibility JavaVersion.VERSION_1_7
|
}
|
}
|