初始代码
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
id 'kotlin-parcelize'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk rootProject.ext.compileSdkVersion
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.zmkg.coaloperation"
|
||||
minSdk rootProject.ext.minSdkVersion
|
||||
targetSdk rootProject.ext.targetSdkVersion
|
||||
versionCode rootProject.ext.versionCode
|
||||
versionName rootProject.ext.versionName
|
||||
multiDexEnabled true
|
||||
ndk {
|
||||
// 选择实际需要的cpu架构
|
||||
abiFilters 'armeabi-v7a', 'arm64-v8a'//,'armeabi'//, 'x86', 'x86_64'
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs{
|
||||
debug {
|
||||
storeFile file('/key/coal-release.jks')
|
||||
storePassword "coal1234"
|
||||
keyAlias "coal"
|
||||
keyPassword "coal1234"
|
||||
}
|
||||
release {
|
||||
storeFile file('/key/coal-release.jks')
|
||||
storePassword "coal1234"
|
||||
keyAlias "coal"
|
||||
keyPassword "coal1234"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
release {
|
||||
minifyEnabled false
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
packagingOptions {
|
||||
exclude 'META-INF/gradle/incremental.annotation.processors'
|
||||
exclude 'DebugProbesKt.bin'
|
||||
}
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
}
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
kapt {
|
||||
generateStubs = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
api rootProject.ext.androidxLibs
|
||||
// ViewModel and LiveData
|
||||
api rootProject.ext.jetpackLibs
|
||||
/* annotationProcessor */
|
||||
kapt rootProject.ext.annotationProcessorLibs
|
||||
/*网络请求相关*/
|
||||
api rootProject.ext.networkLibs
|
||||
/*Glide*/
|
||||
api rootProject.ext.glideLibs
|
||||
/*AgentWeb*/
|
||||
api rootProject.ext.agentWebLibs
|
||||
|
||||
api rootProject.ext.commonLibs
|
||||
|
||||
|
||||
api project(':tuichat')
|
||||
api project(':tuicontact')
|
||||
api project(':tuiconversation')
|
||||
api project(':tuicallkit')
|
||||
// annotationProcessor 'com.google.auto.service:auto-service:1.1.1'
|
||||
|
||||
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
||||
|
||||
// ViewModel
|
||||
// implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0"
|
||||
|
||||
// Retrofit
|
||||
// implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
||||
// implementation "com.squareup.retrofit2:converter-gson:2.9.0"
|
||||
|
||||
// OkHttp
|
||||
// implementation "com.squareup.okhttp3:okhttp:4.11.0"
|
||||
// implementation "com.squareup.okhttp3:logging-interceptor:4.11.0"
|
||||
|
||||
// Coroutines
|
||||
// implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1"
|
||||
}
|
||||
Reference in New Issue
Block a user