58 lines
1.5 KiB
Groovy
58 lines
1.5 KiB
Groovy
|
plugins {
|
||
|
alias(libs.plugins.android.application)
|
||
|
alias(libs.plugins.kotlin.android)
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace 'dev.ninjdai.balscanner'
|
||
|
compileSdk 35
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "dev.ninjdai.balscanner"
|
||
|
minSdk 24
|
||
|
targetSdk 34
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_11
|
||
|
targetCompatibility JavaVersion.VERSION_11
|
||
|
}
|
||
|
buildFeatures {
|
||
|
viewBinding true
|
||
|
}
|
||
|
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '11'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
|
||
|
implementation libs.appcompat
|
||
|
implementation libs.material
|
||
|
implementation libs.constraintlayout
|
||
|
implementation libs.vectordrawable
|
||
|
implementation libs.lifecycle.livedata.ktx
|
||
|
implementation libs.lifecycle.viewmodel.ktx
|
||
|
implementation libs.navigation.fragment
|
||
|
implementation libs.navigation.ui
|
||
|
implementation libs.core.ktx
|
||
|
testImplementation libs.junit
|
||
|
androidTestImplementation libs.ext.junit
|
||
|
androidTestImplementation libs.espresso.core
|
||
|
|
||
|
implementation libs.zxing.android.embedded
|
||
|
implementation ("com.squareup.retrofit2:retrofit:2.9.0")
|
||
|
implementation ("com.squareup.retrofit2:converter-gson:2.9.0")
|
||
|
implementation ("com.google.code.gson:gson:2.9.0")
|
||
|
}
|