Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GuhDoy committed Aug 5, 2023
1 parent dc5d5aa commit cc3a14d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
18 changes: 10 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'androidx.navigation.safeargs.kotlin'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.devtools.ksp'
apply plugin: 'dagger.hilt.android.plugin'

def gitCommitCount = Integer.parseInt('git rev-list --count HEAD'.execute([], project.rootDir).text.trim())
def sdk = 33

android {
compileSdk sdk
buildToolsVersion '33.0.2'
buildToolsVersion = '33.0.2'
ndkVersion '25.2.9519653'

defaultConfig {
applicationId 'me.gm.cleaner.plugin'
minSdk 29
targetSdk sdk
versionCode gitCommitCount
versionName 'beta8'
versionName 'beta9'
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
multiDexEnabled false
resourceConfigurations += ['en', 'zh-rCN', 'zh-rTW']
Expand Down Expand Up @@ -95,8 +96,8 @@ afterEvaluate {
dependencies {
compileOnly 'de.robv.android.xposed:api:82'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.fragment:fragment-ktx:1.6.0'
implementation 'androidx.recyclerview:recyclerview:1.3.0'
implementation 'androidx.fragment:fragment-ktx:1.6.1'
implementation 'androidx.recyclerview:recyclerview:1.3.1'
implementation 'androidx.recyclerview:recyclerview-selection:1.1.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.preference:preference-ktx:1.2.0'
Expand All @@ -111,15 +112,16 @@ dependencies {
implementation "androidx.room:room-runtime:$roomVersion"
annotationProcessor "androidx.room:room-compiler:$roomVersion"
implementation "androidx.room:room-ktx:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
def kotlinxCoroutinesVersion = '1.7.2'
ksp "androidx.room:room-compiler:$roomVersion"
def kotlinxCoroutinesVersion = '1.7.3'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinxCoroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinxCoroutinesVersion"
implementation "com.google.dagger:hilt-android:$rootProject.hiltVersion"
// https://issuetracker.google.com/issues/179057202
kapt "com.google.dagger:hilt-android-compiler:$rootProject.hiltVersion"
def glideVersion = '4.15.1'
implementation "com.github.bumptech.glide:glide:$glideVersion"
kapt "com.github.bumptech.glide:compiler:$glideVersion"
ksp "com.github.bumptech.glide:ksp:$glideVersion"
def media3Version = '1.1.0'
implementation "androidx.media3:media3-exoplayer:$media3Version"
implementation "androidx.media3:media3-ui:$media3Version"
Expand All @@ -134,7 +136,7 @@ dependencies {
def appIconLoaderVersion = '1.5.0'
implementation "me.zhanghai.android.appiconloader:appiconloader:$appIconLoaderVersion"
implementation "me.zhanghai.android.appiconloader:appiconloader-glide:$appIconLoaderVersion"
implementation 'dev.rikka.rikkax.recyclerview:recyclerview-ktx:1.3.1'
implementation 'dev.rikka.rikkax.recyclerview:recyclerview-ktx:1.3.2'
implementation 'com.drakeet.drawer:drawer:1.0.3'
implementation 'me.zhanghai.android.fastscroll:library:1.2.0'
implementation project(':photoview')
Expand Down
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = '1.8.20'
navigationVersion = '2.5.2'
hiltVersion = '2.44'
kotlinVersion = '1.9.0'
navigationVersion = '2.5.3'
hiltVersion = '2.46.1'
}
repositories {
jcenter()
Expand All @@ -18,6 +18,10 @@ buildscript {
}
}

plugins {
id 'com.google.devtools.ksp' version '1.9.0-1.0.13' apply false
}

allprojects {
repositories {
jcenter()
Expand Down

0 comments on commit cc3a14d

Please sign in to comment.