92 lines
2.7 KiB
Groovy
92 lines
2.7 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.crm.chat'
|
|
compileSdk 36
|
|
|
|
defaultConfig {
|
|
applicationId "com.crm.chat"
|
|
minSdk 21
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
storeFile file(RELEASE_STORE_FILE)
|
|
storePassword RELEASE_STORE_PASSWORD
|
|
keyAlias RELEASE_KEY_ALIAS
|
|
keyPassword RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core-ktx:1.12.0'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
|
|
implementation 'androidx.activity:activity-compose:1.8.2'
|
|
implementation 'androidx.fragment:fragment-ktx:1.6.2'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.11.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
|
// HTTP client
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
|
|
|
|
// WebSocket
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
|
|
|
// Image loading
|
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
|
|
// JSON parsing
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
|
|
// Room database
|
|
implementation 'androidx.room:room-runtime:2.6.1'
|
|
implementation 'androidx.room:room-ktx:2.6.1'
|
|
|
|
// WorkManager
|
|
implementation 'androidx.work:work-runtime-ktx:2.9.0'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3'
|
|
testImplementation 'io.mockk:mockk:1.13.8'
|
|
testImplementation 'androidx.arch.core:core-testing:2.2.0'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
}
|