This commit updates various dependencies and reconfigures Gradle settings to newer versions and standards. Specific changes include: - Updated Android Gradle Plugin to 8.6.1 - Updated Kotlin to 2.1.20 - Updated Compose Compiler to 1.5.15 - Updated Compose BOM to 2025.04.01 - Updated Hilt to 2.54 - Updated KSP to 2.1.20-2.0.0 - Updated other dependencies like Navigation, Core-Ktx, Lifecycle, Activity Compose, Room, Paging, Coil, Serialization Json - Migrated to Java 21 - Applied Compose plugin - Updated target and compile SDK to 35 - updated jvm target to Java 21
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.convention.android.application)
|
|
alias(libs.plugins.convention.compose)
|
|
}
|
|
|
|
android {
|
|
namespace = "dev.adriankuta.pixabay"
|
|
|
|
defaultConfig {
|
|
applicationId = "dev.adriankuta.pixabay"
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_21.toString()
|
|
}
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":feature:search"))
|
|
implementation(project(":feature:details"))
|
|
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.androidx.lifecycle.runtime.ktx)
|
|
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.androidx.navigation.compose)
|
|
|
|
implementation(libs.androidx.compiler)
|
|
implementation(libs.androidx.ui)
|
|
implementation(libs.androidx.ui.graphics)
|
|
implementation(libs.androidx.ui.tooling.preview)
|
|
implementation(libs.androidx.material3)
|
|
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
androidTestImplementation(libs.androidx.ui.test.junit4)
|
|
debugImplementation(libs.androidx.ui.tooling)
|
|
debugImplementation(libs.androidx.ui.test.manifest)
|
|
} |