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')
}
打包
最新推荐文章于 2022-11-04 11:17:16 发布