mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-01-28 00:15:32 +00:00
- Adding new mons is working - database is also working (añlthough we are using a temporary domain model) - Insertion should be working too - I used an appcontainer for the dependency injection, maybe this is not the best approach, but I don't really know any other approaches Known bug: - When inserting a new mon, you need to reload the app in order for the storage view to refresh correctly, I don't know what happens and why, probably because I did not create a proper ViewModel to accompany the storage part... currently this is very barebones, but it works!
67 lines
2.2 KiB
Plaintext
67 lines
2.2 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.kotlin.compose)
|
|
id("com.google.devtools.ksp") version "2.0.21-1.0.27"
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.nacabaro.vbhelper"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "com.github.nacabaro.vbhelper"
|
|
minSdk = 28
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.room.runtime)
|
|
implementation(project(":vb-nfc-reader"))
|
|
ksp(libs.androidx.room.compiler)
|
|
annotationProcessor(libs.androidx.room.compiler)
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation("androidx.room:room-ktx:2.6.1")
|
|
implementation(libs.androidx.lifecycle.runtime.ktx)
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(platform(libs.androidx.compose.bom))
|
|
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(platform(libs.androidx.compose.bom))
|
|
androidTestImplementation(libs.androidx.ui.test.junit4)
|
|
debugImplementation(libs.androidx.ui.tooling)
|
|
debugImplementation(libs.androidx.ui.test.manifest)
|
|
implementation("androidx.navigation:navigation-compose:2.7.0")
|
|
implementation("com.google.android.material:material:1.2.0")
|
|
implementation("androidx.compose.material:material")
|
|
} |