12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- plugins {
- id 'com.android.library'
- id 'kotlin-android'
- }
- android {
- compileSdk 31
- defaultConfig {
- minSdk 21
- targetSdk 30
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- viewBinding {
- enabled = true
- }
- }
- dependencies {
- // Networking libraries (Retrofit)
- implementation "com.squareup.retrofit2:retrofit:2.9.0"
- implementation "com.squareup.retrofit2:converter-moshi:2.9.0"
- implementation "com.squareup.moshi:moshi-kotlin:1.13.0"
- // Koin for dependencies
- implementation "io.insert-koin:koin-android:3.1.5"
- // Android
- implementation 'androidx.appcompat:appcompat:1.4.1'
- implementation 'com.google.android.material:material:1.5.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
- // View model lifecycle
- implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0"
- implementation "androidx.fragment:fragment-ktx:1.4.1"
- // Glide Image loading library
- implementation "com.github.bumptech.glide:glide:4.12.0"
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- }
|