blob: a1aa73ea76575d2ff0bb7e58e7fb4ae18fc48033 [file] [log] [blame] [edit]
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.google.devtools.ksp")
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("androidx.room")
alias(libs.plugins.kotlinSerialization)
}
android {
namespace = "com.skydoves.pokedex.compose"
compileSdk = 35
defaultConfig {
// The schemas directory contains a schema file for each version of the Room database.
// This is required to enable Room auto migrations.
room {
schemaDirectory("$projectDir/schemas")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles("proguard-rules.pro")
}
}
buildFeatures {
buildConfig = true
}
}
dependencies {
// Compose
implementation(project(":compose:runtime:runtime"))
implementation(project(":compose:ui:ui"))
implementation(project(":compose:ui:ui-tooling"))
implementation(project(":compose:ui:ui-tooling-preview"))
implementation(project(":compose:animation:animation"))
implementation(project(":compose:material3:material3"))
implementation(project(":compose:foundation:foundation"))
implementation(project(":compose:foundation:foundation-layout"))
implementation("androidx.activity:activity-compose:1.9.2")
// AndroidX
implementation(libs.androidx.core)
implementation(libs.testRunner)
implementation("androidx.navigation:navigation-compose:2.8.2")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.4")
implementation("androidx.palette:palette:1.0.0")
// Image Loading
implementation("com.github.bumptech.glide:compose:1.0.0-beta01")
// Kotlinx
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.7")
implementation(libs.kotlinSerializationJson)
// Coroutines
implementation(libs.kotlinCoroutinesAndroid)
// Database
implementation("androidx.room:room-runtime:2.6.1")
implementation("androidx.room:room-ktx:2.6.1")
ksp("androidx.room:room-compiler:2.6.1")
// Network
implementation("com.squareup.retrofit2:retrofit:2.11.0")
implementation("com.squareup.retrofit2:converter-kotlinx-serialization:2.11.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
}