You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.2 KiB
76 lines
2.2 KiB
|
|
plugins { |
|
id("com.android.application") |
|
id("org.jetbrains.kotlin.android") |
|
id("com.google.devtools.ksp") version "2.1.0-1.0.29" |
|
id("org.jetbrains.kotlin.plugin.compose") |
|
} |
|
|
|
android { |
|
compileSdk = 35 |
|
|
|
defaultConfig { |
|
applicationId = "ru.asakul.feel" |
|
minSdk = 26 |
|
targetSdk = 35 |
|
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 |
|
} |
|
packaging { |
|
resources { |
|
excludes += "/META-INF/{AL2.0,LGPL2.1}" |
|
} |
|
} |
|
namespace = "ru.asakul.feel" |
|
} |
|
|
|
dependencies { |
|
// Import the Compose BOM |
|
implementation(platform("androidx.compose:compose-bom:2024.12.01")) |
|
implementation("androidx.activity:activity-compose:1.9.3") |
|
implementation("androidx.compose.material3:material3") |
|
implementation("androidx.compose.ui:ui") |
|
implementation("androidx.compose.ui:ui-tooling") |
|
implementation("androidx.compose.ui:ui-tooling-preview") |
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7") |
|
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7") |
|
implementation("androidx.navigation:navigation-compose:2.8.5") |
|
|
|
|
|
// Testing |
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") |
|
androidTestImplementation("androidx.test.ext:junit:1.2.1") |
|
|
|
//Room |
|
implementation("androidx.room:room-runtime:${rootProject.extra["room_version"]}") |
|
ksp("androidx.room:room-compiler:${rootProject.extra["room_version"]}") |
|
implementation("androidx.room:room-ktx:${rootProject.extra["room_version"]}") |
|
testImplementation(kotlin("test")) |
|
|
|
|
|
}
|
|
|