apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion "28.0.3" useLibrary 'org.apache.http.legacy' defaultConfig { applicationId "com.qiyou.mb.android" minSdkVersion 15 targetSdkVersion 26 testApplicationId "com.qiyou.mb.android.test" testInstrumentationRunner "android.test.InstrumentationTestRunner" } buildTypes { release { minifyEnabled true proguardFiles 'proguard.cfg' } } } dependencies { api project(':listviewlibrary') api 'com.android.support:support-v4:26.+' api 'com.android.support:gridlayout-v7:26.+' api files('libs/BaiduLBS_Android.jar') api files('libs/SocialSDK_QQZone_1.jar') api files('libs/SocialSDK_QQZone_2.jar') api files('libs/SocialSDK_QQZone_3.jar') api files('libs/SocialSDK_Sina.jar') api files('libs/SocialSDK_WeiXin_1.jar') api files('libs/SocialSDK_WeiXin_2.jar') api files('libs/SocialSDK_tencentWB_1.jar') api files('libs/SocialSDK_tencentWB_2.jar') api files('libs/SocialSDK_tencentWB_3.jar') // compile files('libs/SpeechApi.jar') api files('libs/achartengine-1.1.0.jar') api files('libs/android-async-http-1.4.6.jar') api files('libs/conceal_android.jar') api files('libs/httpmime-4.1.3.jar') api files('libs/libconceal.jar') api files('libs/locSDK_6.13.jar') api files('libs/nineoldandroids-2.4.0.jar') api files('libs/swipelistview-1.0-20130701.103547-12-jar-with-dependencies.jar') api files('libs/umeng-analytics-v6.0.3.jar') api files('libs/umeng-update-v2.6.0.1.jar') api files('libs/umeng_social_sdk.jar') api files('libs/universal-image-loader-1.9.2.jar') // compile files('libs/utdid4all-1.0.4.jar') api 'com.google.code.gson:gson:2.8.0' api project(':PushSDK') api 'me.dm7.barcodescanner:zxing:1.9' // api files('libs/core-3.2.0.jar') api files('libs/javase-2.3-SNAPSHOT.jar') api files('libs/com.baidu.tts_2.3.0.jar') } //tasks.withType(JavaCompile) { // options.encoding = "GBK" //}