apply plugin: 'com.android.application' apply plugin: 'com.jakewharton.butterknife' android { compileSdkVersion 28 buildToolsVersion '28.0.3' defaultConfig { applicationId "clock.socoolby.com.clock" minSdkVersion 16 targetSdkVersion 26 versionCode 3 versionName "1.2.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } productFlavors { } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions { exclude 'META-INF/DEPENDENCIES' } testOptions { unitTests.returnDefaultValues = true } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.legacy:legacy-support-v4:1.0.0' testImplementation 'junit:junit:4.13-beta-2' implementation 'com.mcxiaoke.volley:library:1.0.19' implementation 'com.github.razerdp:BasePopup:2.2.0' //BasePopup androidx支持库(针对以上两个支持的androidX版本) //implementation 'com.github.razerdp:BasePopup-compat-androidx:2.2.0' implementation 'com.haibin:calendarview:3.6.2' implementation 'androidx.annotation:annotation:1.0.2' implementation('com.github.bumptech.glide:glide:4.8.0') { exclude group: "com.android.support" } annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.blankj:utilcode:1.23.7' implementation 'com.larswerkman:HoloColorPicker:1.5' implementation('com.github.LuckSiege.PictureSelector:picture_library:v2.2.3') { exclude group: "com.github.bumptech.glide" } // ViewModel and LiveData implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' implementation('com.gitee.51danju.e-odbo:e-odbo-jdbc:V1.0-beta.3') { exclude(group: 'org.apache.logging.log4j', module: '*') //exclude(group: 'org.apache.logging.log4j', module: 'log4j-core') //exclude(group: 'org.apache.logging.log4j', module: 'log4j-api') //exclude(group: 'org.apache.logging.log4j', module: 'log4j-jcl') //exclude(group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl') //exclude(group: 'org.slf4j', module: 'slf4j-api') } implementation 'org.slf4j:slf4j-android:1.7.26' //implementation 'com.github.tony19:logback-android-core:1.0.7-1' implementation 'org.sqldroid:sqldroid:1.1.0-rc1' implementation "com.github.DeweyReed:UltimateMusicPicker:2.0.4" implementation 'com.jakewharton:butterknife:10.1.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0' }