apply plugin: 'com.android.application' //apply plugin: 'kotlin-android' //apply plugin: 'kotlin-android-extensions' android { signingConfigs { release { storeFile file('../ime.jks') storePassword '123456' keyAlias 'ime' keyPassword '123456' } } compileSdkVersion 28 defaultConfig { applicationId "com.example.test" //com.hnzhenxi.ime //备案域名 minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' multiDexEnabled true // 分包处理 65433 ndk { // abiFilters 'armeabi','arm64-v8a','armeabi-v7a' //兼容x86cpu架构 需要什么样的架构就添加什么样的 abiFilters 'armeabi-v7a',"arm64-v8a" //小程序 不支持armeabi } //此处配置必须添加 否则无法正确运行 aaptOptions { additionalParameters '--auto-add-overlay' //noCompress 'foo', 'bar' ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main { jniLibs.srcDirs = ['libs'] } } compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar','*.aar']) // implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' // implementation 'androidx.constraintlayout:constraintlayout:2.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' implementation 'androidx.multidex:multidex:2.0.0' implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' implementation "com.android.support:design:28.0.0" implementation 'com.android.support:support-fragment:27.1.0' implementation 'com.android.support:support-core-utils:27.1.0' api 'com.huxq17.xrefreshview:xrefreshview:3.6.9' //BaseOkHttp V3 网络请求库 implementation 'com.github.kongzue:BaseOkHttpV3:3.2.3.beta4' //BaseJson 解析库 implementation 'com.github.kongzue:BaseJson:1.0.7.2' implementation "com.squareup.okhttp3:okhttp:4.9.1" api 'org.greenrobot:eventbus:3.2.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01' implementation 'com.google.code.gson:gson:2.8.5' implementation 'com.android.support:multidex:1.0.3' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.jakewharton:butterknife:10.2.3' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3' api 'com.android.support:percent:26.+' //百分比适配 api 'com.github.classichu:ClassicPercentLayout:1.0.1' //https://github.com/classichu/ClassicPercentLayout implementation 'com.lovedise:permissiongen:0.0.6'//权限 compile 'com.github.yhaolpz:FloatWindow:1.0.9' implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' // implementation 'com.github.warkiz.widget:indicatorseekbar:2.1.2' implementation 'com.github.warkiz.tickseekbar:tickseekbar:0.1.4' //https://github.com/warkiz/TickSeekBar implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:4.1.2' implementation 'com.github.azhon:AppUpdate:3.0.5'// 必选 implementation 'io.github.youth5201314:banner:2.2.2'//banner api 'com.tencent.mm.opensdk:wechat-sdk-android:+' implementation 'pub.devrel:easypermissions:2.0.1' api project(path: ':easynavigation') api project(path: ':common') implementation project(':smartcropperlib') }