12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- plugins {
- id 'com.android.library'
- id "io.sentry.android.gradle" version "3.4.2"
- }
- def versionCode = 1
- def versionName = "0.0.1.011"
- android {
- namespace 'cn.org.bjca.trust.android.lib.im'
- compileSdk 33
- defaultConfig {
- minSdk 26
- targetSdk 33
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- buildConfigField("String", "versionName", "\"${versionName}\"")
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- api project(path: ':SzyxBaseSdk')
- implementation 'androidx.appcompat:appcompat:1.4.1'
- implementation 'com.google.android.material:material:1.5.0'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- //数据库相关
- implementation("androidx.room:room-runtime:2.5.0")
- annotationProcessor ("androidx.room:room-compiler:2.5.0")
- // 网络相关
- //Rxjava
- implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
- //Retrofit
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
- implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
- }
|