|
@@ -1,10 +1,13 @@
|
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.android.application'
|
|
|
apply plugin: 'com.getkeepsafe.dexcount'
|
|
apply plugin: 'com.getkeepsafe.dexcount'
|
|
|
|
|
+apply plugin: 'me.tatarka.retrolambda'
|
|
|
|
|
|
|
|
android {
|
|
android {
|
|
|
|
|
|
|
|
- compileSdkVersion 24
|
|
|
|
|
- buildToolsVersion "25.0.0"
|
|
|
|
|
|
|
+ compileOptions {
|
|
|
|
|
+ sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
+ targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
signingConfigs {
|
|
signingConfigs {
|
|
|
config {
|
|
config {
|
|
@@ -14,14 +17,16 @@ android {
|
|
|
keyPassword '13237658359'
|
|
keyPassword '13237658359'
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|
|
|
|
+ buildToolsVersion rootProject.ext.android.buildToolsVersion
|
|
|
|
|
+
|
|
|
defaultConfig {
|
|
defaultConfig {
|
|
|
- applicationId "com.xzjmyk.pm.activity"
|
|
|
|
|
- minSdkVersion 14
|
|
|
|
|
- targetSdkVersion 24
|
|
|
|
|
- compileOptions {
|
|
|
|
|
- sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
|
- targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ applicationId project.applicationId
|
|
|
|
|
+ minSdkVersion rootProject.ext.android.minSdkVersion
|
|
|
|
|
+ targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
|
|
|
+ versionCode rootProject.ext.android.versionCode
|
|
|
|
|
+ versionName rootProject.ext.android.versionName
|
|
|
multiDexEnabled true
|
|
multiDexEnabled true
|
|
|
signingConfig signingConfigs.config
|
|
signingConfig signingConfigs.config
|
|
|
}
|
|
}
|
|
@@ -31,8 +36,6 @@ android {
|
|
|
abortOnError false
|
|
abortOnError false
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
packagingOptions {
|
|
packagingOptions {
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
@@ -51,12 +54,11 @@ android {
|
|
|
productFlavors {
|
|
productFlavors {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
|
buildscript {
|
|
|
repositories {
|
|
repositories {
|
|
|
- mavenCentral() // or jcenter()
|
|
|
|
|
|
|
+ mavenCentral()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
@@ -77,17 +79,22 @@ dexcount {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
|
|
|
+ //工程
|
|
|
compile project(':imageload')
|
|
compile project(':imageload')
|
|
|
compile project(':pullToRefershLibraryMy')
|
|
compile project(':pullToRefershLibraryMy')
|
|
|
compile project(':MPAndroidChart')
|
|
compile project(':MPAndroidChart')
|
|
|
compile project(':libedittextformlibrary')
|
|
compile project(':libedittextformlibrary')
|
|
|
compile project(':libfloatingactionbutton')
|
|
compile project(':libfloatingactionbutton')
|
|
|
compile project(':libbdupdatesdk')
|
|
compile project(':libbdupdatesdk')
|
|
|
|
|
+ compile project(':library-swipemenu_lv')
|
|
|
|
|
+ compile project(':library-viewpager-indicator')
|
|
|
|
|
+ compile project(':lib-zxing')
|
|
|
|
|
+ compile project(':library-refreshlayout')
|
|
|
|
|
+ //架包
|
|
|
compile files('libs/android-async-http-1.4.5.jar')
|
|
compile files('libs/android-async-http-1.4.5.jar')
|
|
|
compile files('libs/asmack.jar')
|
|
compile files('libs/asmack.jar')
|
|
|
compile files('libs/BaiduLBS_Android.jar')
|
|
compile files('libs/BaiduLBS_Android.jar')
|
|
|
compile files('libs/cyberplayer-sdk.jar')
|
|
compile files('libs/cyberplayer-sdk.jar')
|
|
|
- // compile files('libs/fastjson-1.1.41.jar')
|
|
|
|
|
compile files('libs/httpmime-4.2.jar')
|
|
compile files('libs/httpmime-4.2.jar')
|
|
|
compile files('libs/nineoldandroids.jar')
|
|
compile files('libs/nineoldandroids.jar')
|
|
|
compile files('libs/org.xbill.dns_2.1.6.jar')
|
|
compile files('libs/org.xbill.dns_2.1.6.jar')
|
|
@@ -98,9 +105,6 @@ dependencies {
|
|
|
compile files('libs/volley.jar')
|
|
compile files('libs/volley.jar')
|
|
|
compile files('libs/xutils.jar')
|
|
compile files('libs/xutils.jar')
|
|
|
compile files('libs/flexjson-2.1.jar')
|
|
compile files('libs/flexjson-2.1.jar')
|
|
|
- compile project(':library-swipemenu_lv')
|
|
|
|
|
- compile project(':library-viewpager-indicator')
|
|
|
|
|
- compile project(':lib-zxing')
|
|
|
|
|
compile files('libs/SocialSDK_WeiXin_2.jar')
|
|
compile files('libs/SocialSDK_WeiXin_2.jar')
|
|
|
compile files('libs/SocialSDK_umengwx.jar')
|
|
compile files('libs/SocialSDK_umengwx.jar')
|
|
|
compile files('libs/SocialSDK_QQZone_3.jar')
|
|
compile files('libs/SocialSDK_QQZone_3.jar')
|
|
@@ -114,11 +118,12 @@ dependencies {
|
|
|
compile('com.facebook.stetho:stetho:1.4.1') {
|
|
compile('com.facebook.stetho:stetho:1.4.1') {
|
|
|
force = true
|
|
force = true
|
|
|
}
|
|
}
|
|
|
- compile project(':library-refreshlayout')
|
|
|
|
|
compile files('src/main/jniLibs/pushservice-5.3.0.99.jar')
|
|
compile files('src/main/jniLibs/pushservice-5.3.0.99.jar')
|
|
|
compile files('libs/lite-orm-1.7.0.jar')
|
|
compile files('libs/lite-orm-1.7.0.jar')
|
|
|
compile files('libs/Msc.jar')
|
|
compile files('libs/Msc.jar')
|
|
|
compile files('libs/zhy_treeview.jar')
|
|
compile files('libs/zhy_treeview.jar')
|
|
|
|
|
+ compile files('libs/core.jar')
|
|
|
|
|
+ //依赖库
|
|
|
compile 'com.alibaba:fastjson:1.2.24'
|
|
compile 'com.alibaba:fastjson:1.2.24'
|
|
|
compile 'de.hdodenhof:circleimageview:2.1.0'
|
|
compile 'de.hdodenhof:circleimageview:2.1.0'
|
|
|
compile 'joda-time:joda-time:2.9.4'
|
|
compile 'joda-time:joda-time:2.9.4'
|