80 lines
2.2 KiB
Groovy
80 lines
2.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'androidx.navigation.safeargs'
|
|
id 'kotlin-kapt'
|
|
id 'com.google.gms.google-services'
|
|
id 'dagger.hilt.android.plugin'
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
|
|
defaultConfig {
|
|
applicationId "com.breens.youtubeclone"
|
|
minSdk 21
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
|
|
|
//Navigation Components
|
|
implementation "androidx.navigation:navigation-fragment-ktx:2.4.1"
|
|
implementation "androidx.navigation:navigation-ui-ktx:2.4.1"
|
|
|
|
//CircleImageView
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
|
|
|
//Retrofit
|
|
implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
|
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.3"
|
|
implementation "com.squareup.okhttp3:okhttp:4.9.3"
|
|
|
|
//Kotlin Coroutines
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
|
|
|
|
// Dagger Hilt
|
|
implementation "com.google.dagger:hilt-android:2.38.1"
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
kapt "com.google.dagger:hilt-compiler:2.38.1"
|
|
|
|
// LiveData
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.1"
|
|
|
|
//Coil
|
|
implementation "io.coil-kt:coil:2.0.0-rc02"
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
} |