1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- }
- android {
- namespace 'com.khmer9.boxingapplication'
- compileSdk 33
- defaultConfig {
- applicationId "com.khmer9.boxingapplication"
- minSdk 24
- targetSdk 33
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- buildFeatures {
- viewBinding true
- }
- }
- dependencies {
- implementation 'androidx.core:core-ktx:1.8.0'
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.9.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
- implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
- implementation 'androidx.navigation:navigation-fragment-ktx:2.6.0'
- implementation 'androidx.navigation:navigation-ui-ktx:2.6.0'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- //RxJava & RxAndroid
- implementation "io.reactivex.rxjava2:rxjava:2.2.18"
- implementation "io.reactivex.rxjava2:rxkotlin:2.4.0"
- implementation "io.reactivex.rxjava2:rxandroid:2.1.1"
- //Retrofit
- def retrofit_version = "2.9.0"
- implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
- implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"
- implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
- implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2'
- implementation 'com.localebro:okhttpprofiler:1.0.8'
- /*Json Serialize & Deserialize Library*/
- implementation("com.squareup.moshi:moshi-kotlin:1.9.2")
- implementation("com.squareup.moshi:moshi-kotlin-codegen:1.9.2")
- //Socket io client
- implementation('io.socket:socket.io-client:2.0.0') {
- exclude group: 'org.json', module: 'json'
- }
- //Logging helper
- implementation 'com.jakewharton.timber:timber:4.7.1'
- implementation 'com.google.code.gson:gson:2.8.6'
- }
|