Files
bj_power/bj_power_app/app/build.gradle
T

44 lines
1.2 KiB
Groovy
Raw Normal View History

plugins {
id 'com.android.application'
}
android {
namespace 'com.bjpower.app'
compileSdk 34
defaultConfig {
applicationId "com.bjpower.app"
minSdk 24
targetSdk 34
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
packagingOptions {
resources.excludes += ['META-INF/DEPENDENCIES', 'META-INF/NOTICE', 'META-INF/LICENSE']
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
// 扫码:ZXing 嵌入式(纯 Java、离线、不依赖 Google 服务)
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
// 网络:OkHttp
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
}