1
+ plugins {
2
+ id ' com.android.application'
3
+ id ' org.jetbrains.kotlin.android'
4
+ id ' kotlin-kapt'
5
+ id ' com.google.dagger.hilt.android'
6
+ }
7
+
8
+ android {
9
+ namespace ' com.simba.addatimes'
10
+ compileSdk 33
11
+
12
+ defaultConfig {
13
+ applicationId " com.simba.addatimes"
14
+ minSdk 23
15
+ targetSdk 32
16
+ versionCode 1
17
+ versionName " 1.0"
18
+
19
+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
20
+ }
21
+
22
+ buildTypes {
23
+ release {
24
+ minifyEnabled false
25
+ proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
26
+ }
27
+ }
28
+ compileOptions {
29
+ sourceCompatibility JavaVersion . VERSION_1_8
30
+ targetCompatibility JavaVersion . VERSION_1_8
31
+ }
32
+ kotlinOptions {
33
+ jvmTarget = ' 1.8'
34
+ }
35
+
36
+ buildFeatures {
37
+ viewBinding = true
38
+ }
39
+ }
40
+
41
+ dependencies {
42
+
43
+ implementation ' androidx.core:core-ktx:1.7.0'
44
+ implementation ' androidx.appcompat:appcompat:1.6.1'
45
+ implementation ' com.google.android.material:material:1.7.0'
46
+ implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
47
+ implementation ' androidx.databinding:baseLibrary:3.2.0-alpha11'
48
+ testImplementation ' junit:junit:4.13.2'
49
+ androidTestImplementation ' androidx.test.ext:junit:1.1.5'
50
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
51
+
52
+ // navigation
53
+ implementation ' androidx.navigation:navigation-fragment:2.5.3'
54
+ implementation ' androidx.navigation:navigation-ui-ktx:2.5.3'
55
+
56
+ // Dependency injection
57
+ implementation " com.google.dagger:hilt-android:2.44"
58
+ kapt " com.google.dagger:hilt-compiler:2.44"
59
+
60
+ // Network dependencies
61
+ implementation ' com.squareup.retrofit2:retrofit:2.9.0'
62
+ implementation ' com.squareup.retrofit2:converter-gson:2.9.0'
63
+ implementation(platform(" com.squareup.okhttp3:okhttp-bom:4.9.0" ))
64
+ implementation ' com.squareup.okhttp3:okhttp'
65
+ implementation ' com.squareup.okhttp3:logging-interceptor'
66
+
67
+ // Livedata
68
+ implementation(" androidx.lifecycle:lifecycle-livedata-ktx:2.5.1" )
69
+
70
+ // Coil
71
+ implementation(" io.coil-kt:coil:2.2.2" )
72
+
73
+ // Glide
74
+ implementation ' com.github.bumptech.glide:glide:4.14.2'
75
+ annotationProcessor ' com.github.bumptech.glide:compiler:4.14.2'
76
+
77
+ implementation ' androidx.viewpager2:viewpager2:1.0.0'
78
+
79
+ implementation ' com.makeramen:roundedimageview:2.3.0'
80
+
81
+ implementation ' com.github.denzcoskun:ImageSlideshow:0.1.0'
82
+
83
+ }
0 commit comments