More changes
This commit is contained in:
parent
6aeea1d86a
commit
b51834635a
11 changed files with 131 additions and 133 deletions
73
app/build.gradle.kts
Normal file
73
app/build.gradle.kts
Normal file
|
@ -0,0 +1,73 @@
|
|||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.henryhiles.qscan"
|
||||
compileSdk = 33
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.henryhiles.qscan"
|
||||
minSdk = 29
|
||||
targetSdk = 33
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
named("release") {
|
||||
isMinifyEnabled = false
|
||||
setProguardFiles(
|
||||
listOf(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
buildConfig = true
|
||||
}
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = "1.2.0"
|
||||
}
|
||||
packagingOptions {
|
||||
resources {
|
||||
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("androidx.core:core-ktx:1.9.0")
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1")
|
||||
implementation("androidx.activity:activity-compose:1.6.1")
|
||||
|
||||
implementation("androidx.compose.ui:ui:1.3.3")
|
||||
implementation("androidx.compose.ui:ui-tooling-preview:1.3.3")
|
||||
implementation("androidx.compose.material3:material3:1.1.0-alpha06")
|
||||
implementation("androidx.compose.material:material-icons-extended:1.3.1")
|
||||
|
||||
implementation("androidx.camera:camera-camera2:1.2.1")
|
||||
implementation("androidx.camera:camera-lifecycle:1.2.1")
|
||||
implementation("androidx.camera:camera-view:1.2.1")
|
||||
|
||||
implementation("com.google.zxing:core:3.3.3")
|
||||
|
||||
debugImplementation("androidx.compose.ui:ui-tooling:1.3.3")
|
||||
debugImplementation("androidx.compose.ui:ui-test-manifest:1.3.3")
|
||||
}
|
Reference in a new issue