android {
signingConfigs {
release {
storeFile file('C:\\Users\\Administrator\\Desktop\\keystore\\chuangke.jks') //絕對路徑
storePassword "chuangke123456"
keyAlias "chuangke"
keyPassword "chuangke123456"
}
}
compileSdkVersion 26
defaultConfig {
applicationId "com.laifeng.marketapp"
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.release
}
// buildTypes {
// release {
// minifyEnabled false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
// }
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
productFlavors {
}
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.2.0'
}
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.google.code.gson:gson:2.8.4'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'jp.wasabeef:glide-transformations:2.0.2'
//註解
implementation 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
implementation 'com.zhy:okhttputils:2.6.2'
//權限申請
implementation 'com.yanzhenjie:permission:2.0.0-rc4'
//Webview框架
implementation 'com.just.agentweb:agentweb:4.0.2'
// (必選)
implementation('cn.qqtheme.framework:WheelPicker:1.5.0') {
exclude group: 'com.android.support'
}
//alibaba JSon解析(WheelPicker框架內部需要用到)
implementation 'com.alibaba:fastjson:1.1.55.android'
//圖片選擇器
implementation 'com.lzy.widget:imagepicker:0.6.1'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.13'
implementation 'com.google.code.gson:gson:2.8.1'
// implementation 'com.shizhefei:ViewPagerIndicator:1.1.6'
//由於用到了v4和recyclerview所以也要導入他們
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.kongzue.dialog:dialog:2.1.9'
implementation 'com.youth.banner:banner:1.4.10'
implementation 'com.github.hackware1993:MagicIndicator:1.5.0'
implementation 'com.lzy.widget:view-core:0.2.1'
//壓縮
implementation 'com.github.nanchen2251:CompressHelper:1.0.5'
//微信
compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:1.0.2'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation files('libs/alipaySdk-20180601.jar')
}
打包
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.