mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 07:30:13 -04:00
78 lines
2.5 KiB
Plaintext
78 lines
2.5 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("org.jetbrains.kotlin.plugin.compose")
|
|
id("com.google.devtools.ksp")
|
|
id("com.google.dagger.hilt.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.wismna.geoffroy.donext"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
applicationId = "com.wismna.geoffroy.donext"
|
|
minSdk = 26
|
|
targetSdk = 36
|
|
versionCode = 34
|
|
versionName = "2.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
// Enables code-related app optimization.
|
|
isMinifyEnabled = true
|
|
// Enables resource shrinking.
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
viewBinding = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.1.1"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.9.4")
|
|
implementation("androidx.activity:activity-compose:1.11.0")
|
|
implementation(platform("androidx.compose:compose-bom:2025.09.01"))
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.ui:ui-graphics")
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
implementation("androidx.compose.material3:material3")
|
|
implementation("androidx.compose.material:material-icons-extended:1.7.8")
|
|
implementation("androidx.navigation:navigation-compose:2.9.5")
|
|
implementation("androidx.hilt:hilt-navigation-compose:1.3.0")
|
|
implementation("androidx.test.ext:junit-ktx:1.3.0")
|
|
implementation("sh.calvin.reorderable:reorderable:3.0.0")
|
|
androidTestImplementation(platform("androidx.compose:compose-bom:2025.09.01"))
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
|
|
|
val roomVersion = "2.8.1"
|
|
implementation("androidx.room:room-runtime:$roomVersion")
|
|
ksp("androidx.room:room-compiler:$roomVersion")
|
|
|
|
val hiltVersion = "2.57.2"
|
|
implementation("com.google.dagger:hilt-android:$hiltVersion")
|
|
ksp("com.google.dagger:hilt-android-compiler:$hiltVersion")
|
|
}
|
|
|