apply plugin: 'com.android.library'
|
android {
|
namespace 'com.dayu.qiheonlinelibrary'
|
compileSdk 33
|
ndkPath 'D:\\android\\sdk\\ndk\\android-ndk-r21'
|
defaultConfig {
|
minSdk 23
|
targetSdk 33
|
versionCode 1
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
}
|
|
buildTypes {
|
release {
|
minifyEnabled true
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
}
|
}
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
dataBinding {
|
enabled = true;
|
}
|
viewBinding {
|
enabled = true;
|
}
|
externalNativeBuild {
|
cmake {
|
path "CMakeLists.txt"
|
}
|
}
|
}
|
|
dependencies {
|
|
// implementation 'androidx.appcompat:appcompat:1.7.0'
|
implementation 'com.google.android.material:material:1.12.0'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
testImplementation 'junit:junit:4.13.2'
|
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
|
|
compileOnly 'com.android.support:appcompat-v7:28.0.0'
|
compileOnly 'com.android.support.constraint:constraint-layout:1.1.3'
|
compileOnly 'androidx.core:core-ktx:1.8.0'
|
compileOnly 'androidx.appcompat:appcompat:1.5.0'
|
|
compileOnly 'com.tencent.bugly:crashreport:4.1.9.3'
|
|
implementation project(':ocridcardlibrary')
|
implementation project(':baselibrary')
|
//数据库
|
implementation "androidx.room:room-runtime:2.3.0"
|
implementation "androidx.room:room-ktx:2.3.0"
|
runtimeOnly("androidx.room:room-common:2.3.0")
|
annotationProcessor "androidx.room:room-compiler:2.3.0"
|
//权限申请
|
compileOnly 'com.github.getActivity:XXPermissions:18.5'
|
|
//通信
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
implementation('com.squareup.retrofit2:converter-gson:2.9.0') {
|
exclude group: 'com.google.code.gson';
|
}
|
implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
|
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0'
|
compileOnly 'com.google.code.gson:gson:2.10.1'
|
//loding
|
implementation 'com.pnikosis:materialish-progress:1.7'
|
|
//列表
|
compileOnly 'io.github.scwang90:refresh-layout-kernel:2.0.5'
|
compileOnly 'io.github.scwang90:refresh-header-classics:2.0.5'
|
compileOnly 'androidx.recyclerview:recyclerview:1.2.0'//经典刷新头
|
|
compileOnly 'com.wang.avi:library:2.1.3'
|
compileOnly group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12'
|
}
|
|
configurations.all {
|
resolutionStrategy {
|
force 'androidx.recyclerview:recyclerview:1.2.0'
|
force 'com.google.code.gson:gson:2.10.1'
|
}
|
}
|