81 lines
No EOL
2.1 KiB
Kotlin
81 lines
No EOL
2.1 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("com.google.dagger.hilt.android")
|
|
id("org.jetbrains.kotlin.kapt")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.pixelized.lexique"
|
|
compileSdk = 33
|
|
|
|
defaultConfig {
|
|
applicationId = "com.pixelized.lexique"
|
|
minSdk = 26
|
|
targetSdk = 33
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary = true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.4.8"
|
|
}
|
|
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.core:core-ktx:1.10.1")
|
|
implementation("androidx.activity:activity-compose:1.7.2")
|
|
|
|
// Compose
|
|
implementation("androidx.compose.ui:ui:1.4.3")
|
|
implementation("androidx.compose.ui:ui-graphics:1.4.3")
|
|
implementation("androidx.compose.ui:ui-tooling-preview:1.4.3")
|
|
implementation("androidx.compose.material3:material3:1.1.1")
|
|
debugImplementation("androidx.compose.ui:ui-tooling:1.4.3")
|
|
|
|
// Hilt: Dependency injection
|
|
implementation("androidx.hilt:hilt-navigation-compose:1.0.0")
|
|
implementation("com.google.dagger:hilt-android:2.45")
|
|
kapt("com.google.dagger:hilt-compiler:2.45")
|
|
|
|
// Image
|
|
implementation("com.github.skydoves:landscapist-glide:2.1.11")
|
|
kapt("com.github.bumptech.glide:compiler:4.14.2") // this have to be align with landscapist-glide
|
|
|
|
// Retrofit : Network
|
|
implementation("com.squareup.retrofit2:retrofit:2.9.0")
|
|
} |