123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- plugins {
- id 'com.android.application'
- id 'kotlin-android'
- id 'kotlin-parcelize'
- id 'kotlin-kapt'
- id 'dagger.hilt.android.plugin'
- }
- android {
- compileSdk 33
- buildToolsVersion '33.0.2'
- buildFeatures {
- viewBinding = true
- }
- defaultConfig {
- applicationId "beer.toktok.app"
- minSdkVersion 21
- targetSdk 33
- versionCode 2
- versionName "1.1.1"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- multiDexEnabled true
- ndk {
- abiFilters 'armeabi-v7a', 'arm64-v8a'
- }
- }
- signingConfigs {
- debug {
- storeFile file('../toktok.jks')
- storePassword 'toktok_20210619'
- keyAlias 'toktok'
- keyPassword 'toktok_20210619'
- }
- release {
- storeFile file('../toktok.jks')
- storePassword 'toktok_20210619'
- keyAlias 'toktok'
- keyPassword 'toktok_20210619'
- }
- }
- buildTypes {
- debug {
- minifyEnabled false
- buildConfigField("String", "SERVER", "\"http://120.79.211.173:7500\"")
- }
- release {
- minifyEnabled true
- zipAlignEnabled true
- shrinkResources true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- buildConfigField("String", "SERVER", "\"http://app.toktok.beer\"")
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- kotlinOptions {
- jvmTarget = '11'
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- res.srcDirs = [
- 'src/main/res',
- 'src/main/res-account',
- 'src/main/res-brewery',
- 'src/main/res-common',
- 'src/main/res-content',
- 'src/main/res-beer',
- 'src/main/res-user',
- 'src/main/res-subscribe'
- ]
- }
- }
- namespace 'beer.toktok.app'
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- //kotlin
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation 'androidx.core:core-ktx:1.8.0'
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
- implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0-alpha01"
- implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.0-alpha01"
- //androidx、jetpack
- implementation 'androidx.appcompat:appcompat:1.5.0'
- implementation 'com.google.android.material:material:1.5.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation 'androidx.lifecycle:lifecycle-viewmodel:2.5.1'
- implementation "com.google.dagger:hilt-android:2.43.2"
- kapt "com.google.dagger:hilt-android-compiler:2.43.2"
- implementation 'androidx.room:room-runtime:2.5.0'
- implementation 'androidx.room:room-ktx:2.5.0'
- kapt 'androidx.room:room-compiler:2.5.0'
- //http
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- implementation 'com.squareup.okhttp3:okhttp:4.9.1'
- implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
- //image
- implementation 'jp.wasabeef:glide-transformations:4.1.0'
- implementation 'com.github.bumptech.glide:glide:4.11.0'
- kapt 'com.github.bumptech.glide:compiler:4.11.0'
- //腾讯,x5内核
- api 'com.tencent.tbs.tbssdk:sdk:43939'
- api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.8.0'
- implementation 'com.tencent:mmkv-static:1.2.2'
- //友盟
- implementation 'com.umeng.umsdk:common:9.6.1'
- implementation 'com.umeng.umsdk:asms:1.8.0'
- implementation 'com.umeng.umsdk:apm:1.7.0'
- implementation 'com.umeng.umsdk:share-core:7.2.1'
- implementation 'com.umeng.umsdk:share-wx:7.2.1'
- implementation 'com.umeng.umsdk:push:6.5.9'
- implementation 'com.umeng.umsdk:uyumao:1.1.1'
- implementation 'com.umeng.umsdk:xiaomi-umengaccs:2.0.0'
- implementation 'com.umeng.umsdk:xiaomi-push:5.6.2'
- //other,tools
- implementation(files("libs/shanyan_sdk_v2.3.5.1.aar"))
- implementation(files("libs/BaiduLBS.aar")) //5.8
- implementation 'com.alipay.sdk:alipaysdk-android:+@aar'
- implementation 'com.kunminx.arch:unpeek-livedata:5.0.1-beta1'
- implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47'
- implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1'
- implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
- implementation 'com.contrarywind:Android-PickerView:4.1.9'
- implementation 'com.github.chrisbanes:PhotoView:2.3.0'
- implementation 'com.github.yalantis:ucrop:2.2.8'
- implementation 'com.aliyun.dpa:oss-android-sdk:2.9.11'
- implementation 'com.airbnb.android:lottie:3.4.0'
- implementation "com.github.donkingliang:LabelsView:1.6.5"
- implementation 'top.zibin:Luban:1.1.8'
- }
|