mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-01-27 16:05:32 +00:00
- Items can now be purchased - Changed settings to make use of flows/stateflows from the database, which update the screen in real time after any changes. - Separated functions from files
95 lines
2.9 KiB
Plaintext
95 lines
2.9 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"
|
|
id("com.google.protobuf")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.github.nacabaro.vbhelper"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "com.github.nacabaro.vbhelper"
|
|
minSdk = 28
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "Alpha 0.6.1"
|
|
|
|
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
|
|
}
|
|
|
|
lint {
|
|
baseline = file("lint-baseline.xml")
|
|
}
|
|
}
|
|
|
|
protobuf {
|
|
protoc {
|
|
artifact = "com.google.protobuf:protoc:4.27.0"
|
|
}
|
|
|
|
// Generates the java Protobuf-lite code for the Protobufs in this project. See
|
|
// https://github.com/google/protobuf-gradle-plugin#customizing-protobuf-compilation
|
|
// for more information.
|
|
generateProtoTasks {
|
|
all().forEach { task ->
|
|
task.builtins {
|
|
create("java") {
|
|
option("lite")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.room.runtime)
|
|
implementation(libs.vb.nfc.reader)
|
|
implementation(libs.dim.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.datastore)
|
|
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(libs.protobuf.javalite)
|
|
implementation("androidx.compose.material:material")
|
|
implementation("androidx.datastore:datastore-preferences:1.1.7")
|
|
} |