You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.0 KiB
Groovy
64 lines
2.0 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.example.jinyu_rfid'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.example.jinyu_rfid"
|
|
minSdk 24
|
|
targetSdk 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
ndk {
|
|
// 设置支持的SO库架构
|
|
//noinspection ChromeOsAbiSupport
|
|
abiFilters 'arm64-v8a','armeabi' , 'armeabi-v7a'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
dataBinding true
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation files('libs\\c5106\\App_Demo_API.jar')
|
|
implementation files('libs\\c5106\\DeviceAPIver20150204.jar')
|
|
implementation files('libs\\c5106\\logutil-1.5.1.1.jar')
|
|
implementation files('libs\\c5106\\ModuleAPI_1.jar')
|
|
implementation files('libs\\c5106\\reader(1).jar')
|
|
implementation files('libs\\c5106\\UHF67_v3.6.jar')
|
|
|
|
// implementation files('libs\\ModuleAPI_J.jar')
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
// https://mvnrepository.com/artifact/com.lzy.net/okgo
|
|
implementation 'com.lzy.net:okgo:3.0.4'
|
|
implementation 'org.litepal.guolindev:core:3.2.3'
|
|
|
|
|
|
} |