Skip to content

Commit

Permalink
#135 update dependencies
Browse files Browse the repository at this point in the history
- remove duplicate icons
- remove Kapt from the project
- put the buildConfig in the build.gradle.kts from the gradle.properties
- agp 8.1.4 to 8.3.0
- coil Compose from 2.5.0 to 2.6.0
- ComposeAnimation from 1.6.1 to 1.6.3
- Compose Compiler from 1.5.9 from 1.5.10
- compose runtime from 1.6.1 to 1.6.3
- Compose Foundation from 1.6.1 from 1.6.3
- dagger from 2.50 to 2.51
- detekt from 1.23.4 to 1.23.5
- material3 from 1.2.0 to 1.2.1
- mockk 1.23.9 to .1.23.10
- zoomableCoilImage from 0.7.1 to 0.8.0
- remove extra resources
  • Loading branch information
javadjafari1 committed Mar 7, 2024
1 parent 19a4bab commit 711e880
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 31 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import org.jetbrains.kotlin.konan.properties.Properties
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.kotlin)
alias(libs.plugins.kapt)
alias(libs.plugins.kotlinSerialization)
alias(libs.plugins.protobuf)
alias(libs.plugins.detekt)
Expand Down Expand Up @@ -174,6 +173,7 @@ android {
}
buildFeatures {
compose = true
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
Expand Down Expand Up @@ -230,7 +230,7 @@ dependencies {

/*dagger*/
implementation(libs.dagger)
kapt(libs.daggerCompiler)
ksp(libs.daggerCompiler)

/*room*/
implementation(libs.bundles.room)
Expand Down Expand Up @@ -266,6 +266,7 @@ dependencies {

implementation(libs.appMetrica)
implementation(libs.caoc)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

kover {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:localeConfig="@xml/local_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.App.Starting"
android:usesCleartextTraffic="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,7 @@ private fun SearchScreen(
if (medias.itemCount == 0 && !pagingIsLoading && medias.loadState.append.endOfPaginationReached) {
Text(
modifier = Modifier.align(Alignment.Center),
text = stringResource(
R.string.label_nothing_found_with_keyword,
queryString
)
text = stringResource(R.string.label_nothing_found_with_keyword)
)
}

Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

This file was deleted.

Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<string name="label_setting">تنظیمات</string>
<string name="search_text_field_place_holder">جستجو پس زمینه</string>
<string name="label_nothing_found_with_keyword">چیزی پیدا نشد. :(</string>
<string name="label_looking_for_wallpapers_start_here">دنبال پس زمینه میگردی؟ از اینجا شروع کن</string>
<string name="label_grid_count">تعداد ستون</string>
<string name="label_theme">تم برنامه</string>
<string name="label_about_us">درباره ما</string>
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<string name="label_search">Search</string>
<string name="label_setting">Settings</string>
<string name="search_text_field_place_holder">Search Wallpaper</string>
<string name="label_nothing_found_with_keyword">Nothing found with keyword %1$s</string>
<string name="label_looking_for_wallpapers_start_here">Looking for wallpapers? Start here</string>
<string name="label_nothing_found_with_keyword">Nothing found!</string>
<string name="label_grid_count">Grid Count</string>
<string name="label_theme">Theme</string>
<string name="label_about_us">About us</string>
Expand Down
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ org.gradle.caching=true
org.gradle.parallel=true
#Enable configuration cache
org.gradle.configuration-cache=true
org.gradle.configuration-cache-problems=warn
#Enable build config
android.defaults.buildfeatures.buildconfig=true
org.gradle.configuration-cache-problems=warn
25 changes: 12 additions & 13 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[versions]
accompanist = "0.34.0"
activityCompose = "1.8.2"
agp = "8.1.4"
agp = "8.3.0"
androidxJunit = "1.1.5"
appMetrica = "5.3.0"
appcompat = "1.6.1"
caoc = "2.4.0"
chucker = "4.0.0"
coilCompose = "2.5.0"
composeAnimation = "1.6.1"
composeCompiler = "1.5.9"
composeRuntime = "1.6.1"
composeUi = "1.6.1"
compsoeFoundation = "1.6.1"
coilCompose = "2.6.0"
composeAnimation = "1.6.3"
composeCompiler = "1.5.10"
composeRuntime = "1.6.3"
composeUi = "1.6.3"
compsoeFoundation = "1.6.3"
coreKtx = "1.12.0"
coroutine = "1.8.0"
dagger = "2.50"
dagger = "2.51"
datastore = "1.0.0"
detekt = "1.23.4"
detekt = "1.23.5"
espressoCore = "3.5.1"
jacoco = "0.8.11"
javalite = "3.23.0"
Expand All @@ -28,8 +28,8 @@ kotlinxSerialization = "1.6.3"
kover = "0.7.4"
ksp = "1.9.22-1.0.17"
lifecycleRuntime = "2.7.0"
material3 = "1.2.0"
mockK = "1.13.9"
material3 = "1.2.1"
mockK = "1.13.10"
navigationCompose = "2.7.7"
okhttp = "4.12.0"
paging = "3.2.1"
Expand All @@ -39,7 +39,7 @@ retrofitKotlinxSerializationConverter = "1.0.0"
room = "2.6.1"
splashscreen = "1.0.1"
turbine = "1.0.0"
zoomableImageCoil = "0.7.1"
zoomableImageCoil = "0.8.0"

[libraries]
accompanistNavigationMaterial = { module = "com.google.accompanist:accompanist-navigation-material", version.ref = "accompanist" }
Expand Down Expand Up @@ -96,7 +96,6 @@ zoomableImageCoil = { module = "me.saket.telephoto:zoomable-image-coil", version
[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
Expand Down

0 comments on commit 711e880

Please sign in to comment.