Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nicked committed Mar 2, 2024
1 parent e58c7bc commit a2733ec
Showing 1 changed file with 47 additions and 52 deletions.
99 changes: 47 additions & 52 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'org.jmailen.kotlinter'
apply plugin: 'com.google.devtools.ksp'
apply plugin: "androidx.navigation.safeargs"

android {
compileSdk 34
compileSdkVersion 33

defaultConfig {
applicationId "ceui.lisa.pixiv"
minSdkVersion 21
targetSdk 34
versionCode 260
versionName "3.3.5"
targetSdkVersion 33
versionCode 270
versionName "3.3.8"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

javaCompileOptions {
annotationProcessorOptions {
arguments = [
//必须,告知RxHttp你依赖的okhttp版本,目前已适配 v3.12.0 - v4.9.1版本 (v4.3.0除外)
rxhttp_okhttp : '4.12.0',
rxhttp_package: 'rxhttp'
rxhttp_okhttp : '4.4.1',
//使用asXxx方法时必须,告知RxHttp你依赖的rxjava版本,可传入rxjava2、rxjava3或具体的版本号
rxhttp_rxjava : '3.1.3',
rxhttp_package: 'rxhttp' //非必须,指定RxHttp类包名
]
}
}
ksp {
arg("rxhttp_rxjava", "3.2.4")
}
}

signingConfigs {
Expand All @@ -54,12 +54,6 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile.class).configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
}

sourceSets {
main {
//jni库的调用会到资源文件夹下libs里面找so文件
Expand Down Expand Up @@ -104,26 +98,26 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'com.google.android.material:material:1.8.0'

//=============== lifecycle
def lifecycle_version = '2.7.0'
def lifecycle_version = '2.5.1'

implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"



//=============== Navigation
def nav_version = '2.7.7'
def nav_version = "2.5.3"
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.core:core-ktx:$kotlin_version"

api 'com.squareup.retrofit2:retrofit:2.9.0'
api 'com.squareup.retrofit2:converter-gson:2.9.0'
Expand All @@ -133,9 +127,9 @@ dependencies {
api 'io.reactivex.rxjava2:rxandroid:2.1.1'


implementation "com.github.bumptech.glide:glide:4.16.0"
kapt "com.github.bumptech.glide:compiler:4.16.0"
implementation ('com.github.bumptech.glide:okhttp3-integration:4.16.0'){
implementation 'com.github.bumptech.glide:glide:4.14.2'
kapt 'com.github.bumptech.glide:compiler:4.14.2'
implementation ('com.github.bumptech.glide:okhttp3-integration:4.14.1'){
exclude group: 'glide-parent'
}

Expand All @@ -145,38 +139,40 @@ dependencies {
// api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.3'
// api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.3'

implementation 'io.github.scwang90:refresh-layout-kernel:2.1.0' //核心必须依赖
implementation 'io.github.scwang90:refresh-header-classics:2.1.0' //经典刷新头
implementation 'io.github.scwang90:refresh-header-radar:2.1.0' //雷达刷新头
implementation 'io.github.scwang90:refresh-header-falsify:2.1.0' //虚拟刷新头
implementation 'io.github.scwang90:refresh-header-material:2.1.0' //谷歌刷新头
implementation 'io.github.scwang90:refresh-header-two-level:2.1.0' //二级刷新头
implementation 'io.github.scwang90:refresh-footer-ball:2.1.0' //球脉冲加载
implementation 'io.github.scwang90:refresh-footer-classics:2.1.0' //经典加载
implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' //核心必须依赖
implementation 'io.github.scwang90:refresh-header-classics:2.0.5' //经典刷新头
implementation 'io.github.scwang90:refresh-header-radar:2.0.5' //雷达刷新头
implementation 'io.github.scwang90:refresh-header-falsify:2.0.5' //虚拟刷新头
implementation 'io.github.scwang90:refresh-header-material:2.0.5' //谷歌刷新头
implementation 'io.github.scwang90:refresh-header-two-level:2.0.5' //二级刷新头
implementation 'io.github.scwang90:refresh-footer-ball:2.0.5' //球脉冲加载
implementation 'io.github.scwang90:refresh-footer-classics:2.0.5' //经典加载

// okhttp3系列组件版本最高到 4.4.1,参看 RubySSLSocketFactory
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.4.1'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'jp.wasabeef:glide-transformations:4.3.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.github.ybq:Android-SpinKit:1.4.0'
implementation 'androidx.room:room-runtime:2.6.1'
kapt 'androidx.room:room-compiler:2.6.1'
implementation 'androidx.room:room-runtime:2.5.0'
kapt 'androidx.room:room-compiler:2.5.0'
implementation 'com.github.Justson.AgentWeb:agentweb-core:v4.1.9-androidx'
implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v4.1.9-androidx'
implementation 'com.facebook.rebound:rebound:0.3.8'
// implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'org.sufficientlysecure:html-textview:3.9'
implementation 'com.wdullaer:materialdatetimepicker:4.2.3'
implementation 'com.qmuiteam:qmui:2.1.0'
implementation 'com.qmuiteam:qmui:2.0.1'
implementation 'com.mxn.soul:flowingdrawer-core:2.1.0'
implementation 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:2.0.24'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'jp.wasabeef:recyclerview-animators:4.0.2'
implementation 'gdut.bsx:share2:0.9.3'
implementation 'com.github.skydoves:transformationlayout:1.1.3'
implementation 'com.blankj:utilcodex:1.31.1'
implementation 'com.github.skydoves:transformationlayout:1.1.1'
implementation 'com.blankj:utilcodex:1.31.0'
implementation 'com.safframework.log:saf-logginginterceptor:1.6.0'
implementation 'com.google.firebase:firebase-analytics:21.2.0'
implementation 'com.google.firebase:firebase-crashlytics:18.3.5'

implementation 'com.afollestad:drag-select-recyclerview:2.4.0'

Expand All @@ -188,33 +184,32 @@ dependencies {
implementation 'com.makeramen:roundedimageview:2.3.0'


implementation 'com.github.liujingxing.rxhttp:rxhttp:3.2.4'
implementation 'com.github.liujingxing.rxhttp:rxhttp:2.7.3'
// okhttp3系列组件版本最高到 4.4.1,参看 RubySSLSocketFactory
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
ksp 'com.github.liujingxing.rxhttp:rxhttp-compiler:3.2.4'

implementation 'com.squareup.okhttp3:okhttp:4.4.1'
kapt 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.7.3'

implementation 'io.reactivex.rxjava3:rxjava:3.1.8'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.2'
implementation 'io.reactivex.rxjava3:rxjava:3.1.3'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.1'

implementation 'xyz.zpayh:hdimageview:3.0.2'

implementation project(path: ':models')
implementation project(path: ':progressmanager')
implementation project(path: ':flowlayout-lib')
implementation 'com.waynejo:androidndkgif:0.3.3'
implementation 'com.tencent:mmkv-static:1.3.3'
implementation 'com.tencent:mmkv-static:1.2.12'
implementation 'com.github.tbruyelle:rxpermissions:0.12'

implementation 'androidx.webkit:webkit:1.10.0'
implementation 'androidx.webkit:webkit:1.6.0'

implementation 'com.hjq:toast:8.8'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

implementation "androidx.documentfile:documentfile:1.0.1"
implementation 'com.billy.android:smart-swipe:1.1.2'
Expand All @@ -223,11 +218,11 @@ dependencies {

implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'

coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.2'

configurations {
all*.exclude group: 'com.android.support', module: 'support-v13'
}
}

//lintKotlin.dependsOn(formatKotlin)
//lintKotlin.dependsOn(formatKotlin)

0 comments on commit a2733ec

Please sign in to comment.