plugins {
|
id 'com.android.application'
|
}
|
|
android {
|
compileSdk 32
|
|
defaultConfig {
|
applicationId "com.hdl.photovoltaic"
|
minSdk 23
|
targetSdk 32
|
versionCode 1
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
}
|
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
}
|
}
|
|
buildFeatures {
|
viewBinding true
|
}
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
}
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
implementation 'com.google.android.material:material:1.4.0'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
implementation 'androidx.navigation:navigation-fragment:2.3.5'
|
implementation 'androidx.navigation:navigation-ui:2.3.5'
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
implementation project(path: ':third-zxing')
|
testImplementation 'junit:junit:4.13.2'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
// implementation 'org.greenrobot:eventbus:3.0.0'
|
implementation 'com.hdl.hdlhttp:hxhttp:1.0.4'
|
|
|
//********UniSDK必须添加的依赖 start********
|
implementation "androidx.recyclerview:recyclerview:1.0.0"
|
implementation 'com.alibaba:fastjson:1.2.66'
|
implementation 'com.facebook.fresco:fresco:2.5.0'
|
implementation 'com.facebook.fresco:animated-gif:2.5.0'
|
implementation 'com.facebook.fresco:webpsupport:2.5.0'
|
implementation 'com.facebook.fresco:animated-webp:2.5.0'
|
implementation 'com.github.bumptech.glide:glide:4.9.0'
|
implementation 'com.android.support:multidex:1.0.3'
|
implementation 'androidx.webkit:webkit:1.3.0'
|
//********UniSDK必须添加的依赖 end********
|
|
|
}
|