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.
61 lines
2.2 KiB
Groovy
61 lines
2.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
android {
|
|
namespace "com.example.tyre"
|
|
compileSdk 34
|
|
// compileSdkVersion 29
|
|
// buildToolsVersion '29.0.0'
|
|
defaultConfig {
|
|
applicationId "com.example.tyre"
|
|
minSdk 26
|
|
targetSdk 34
|
|
versionCode 4
|
|
versionName "3.1"
|
|
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
|
|
dataBinding true
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.navigation:navigation-fragment:2.5.3'
|
|
implementation 'androidx.navigation:navigation-ui:2.5.3'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test:runner:1.5.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
// implementation 'com.jakewharton:butterknife:10.2.0'
|
|
// annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
|
|
implementation 'com.lzy.net:okgo:3.0.4'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
implementation 'androidx.recyclerview:recyclerview:1.3.0'
|
|
implementation files('libs/uhfcom13_v15.jar')
|
|
implementation files('libs/SerialPort.jar')
|
|
implementation 'androidx.gridlayout:gridlayout:1.0.0'
|
|
implementation 'com.google.android.material:material:1.11.0'
|
|
implementation 'com.github.xuexiangjys:XUpdate:2.1.4'
|
|
implementation 'com.github.xuexiangjys.XUpdateAPI:xupdate-easy:1.0.1'
|
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
}
|