fornakter

Untitled

Nov 13th, 2023
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 3.04 KB | Source Code | 0 0
  1.  
  2. plugins {
  3.     id("com.android.application")
  4.     id("org.jetbrains.kotlin.android")
  5.     id("kotlin-parcelize")
  6.     id("kotlin-kapt")
  7.     id("dagger.hilt.android.plugin")
  8.  
  9. }
  10.  
  11. android {
  12.     namespace = "com.jet.trivia"
  13.     compileSdk = 34
  14.  
  15.     defaultConfig {
  16.         applicationId = "com.jet.trivia"
  17.         minSdk = 29
  18.         targetSdk = 33
  19.         versionCode = 1
  20.         versionName = "0.9"
  21.  
  22.         testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  23.         vectorDrawables {
  24.             useSupportLibrary = true
  25.         }
  26.     }
  27.  
  28.     buildTypes {
  29.         release {
  30.             isMinifyEnabled = false
  31.             proguardFiles(
  32.                 getDefaultProguardFile("proguard-android-optimize.txt"),
  33.                 "proguard-rules.pro"
  34.             )
  35.         }
  36.     }
  37.     compileOptions {
  38.         sourceCompatibility = JavaVersion.VERSION_1_8
  39.         targetCompatibility = JavaVersion.VERSION_1_8
  40.     }
  41.     kotlinOptions {
  42.         jvmTarget = "1.8"
  43.     }
  44.     buildFeatures {
  45.         compose = true
  46.     }
  47.     composeOptions {
  48.         kotlinCompilerExtensionVersion = "1.4.3"
  49.     }
  50.     packaging {
  51.         resources {
  52.             excludes += "/META-INF/{AL2.0,LGPL2.1}"
  53.         }
  54.     }
  55. }
  56.  
  57. dependencies {
  58.     implementation("com.google.dagger:hilt-android-gradle-plugin:2.44")
  59.     // Coroutines
  60.     implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
  61.     implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1")
  62.     implementation( "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.1")
  63.  
  64.     implementation ("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
  65.     implementation ("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
  66.  
  67.     implementation ("com.google.dagger:hilt-android:2.48")
  68.  
  69.     kapt("com.google.dagger:hilt-android-compiler:2.40")
  70.     implementation ("androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03")
  71.     implementation("androidx.hilt:hilt-navigation-compose:1.1.0")
  72.  
  73.     implementation ("com.squareup.retrofit2:retrofit:2.9.0")
  74.     implementation ("com.squareup.retrofit2:converter-gson:2.9.0")
  75.  
  76.     implementation("androidx.core:core-ktx:1.12.0")
  77.     implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
  78.     implementation("androidx.activity:activity-compose:1.8.0")
  79.     implementation(platform("androidx.compose:compose-bom:2023.03.00"))
  80.     implementation("androidx.compose.ui:ui")
  81.     implementation("androidx.compose.ui:ui-graphics")
  82.     implementation("androidx.compose.ui:ui-tooling-preview")
  83.     implementation("androidx.compose.material3:material3")
  84.     testImplementation("junit:junit:4.13.2")
  85.     androidTestImplementation("androidx.test.ext:junit:1.1.5")
  86.     androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
  87.     androidTestImplementation(platform("androidx.compose:compose-bom:2023.03.00"))
  88.     androidTestImplementation("androidx.compose.ui:ui-test-junit4")
  89.     debugImplementation("androidx.compose.ui:ui-tooling")
  90.     debugImplementation("androidx.compose.ui:ui-test-manifest")
  91. }
Add Comment
Please, Sign In to add comment