Upgraded the org.jetbrains.kotlinx:kotlinx-coroutines-rx3 to version 1.10.1.

* Upgraded the `androidx.test:orchestrator` to version `1.5.1`.
* Upgraded the `androidx.constraintlayout:constraintlayout` to version `2.2.0`.
* Fixed the last lint issue.
This commit is contained in:
MohitMaliFtechiz 2025-02-20 15:41:20 +05:30
parent b1fa6ac998
commit 5d88048976
5 changed files with 11 additions and 3 deletions

View File

@ -30,6 +30,8 @@ android {
namespace = "org.kiwix.kiwixmobile"
compileSdkPreview = Config.compileSdk
defaultConfig {
// TODO: We will move this from here to AllProjectConfigure once
// Android 16 stable release is available.
minSdk = Config.minSdk
base.archivesName.set(apkPrefix)
targetSdkPreview = Config.targetSdk

View File

@ -16,7 +16,7 @@ object Versions {
const val org_jetbrains_kotlinx_kotlinx_coroutines: String = "1.10.1"
const val kotlinx_coroutines_rx3: String = "1.3.9"
const val kotlinx_coroutines_rx3: String = "1.10.1"
const val androidx_test_espresso: String = "3.6.1"
@ -40,7 +40,7 @@ object Versions {
const val androidx_test_core: String = "1.6.1"
const val androidx_test_orchestrator: String = "1.5.0"
const val androidx_test_orchestrator: String = "1.5.1"
const val io_objectbox: String = "4.0.3"
@ -58,7 +58,7 @@ object Versions {
const val leakcanary_android: String = "2.14"
const val constraintlayout: String = "2.1.4"
const val constraintlayout: String = "2.2.0"
const val swipe_refresh_layout: String = "1.1.0"

View File

@ -20,6 +20,8 @@ apply(plugin = "io.objectbox")
android {
compileSdkPreview = Config.compileSdk
defaultConfig {
// TODO: We will move this from here to AllProjectConfigure once
// Android 16 stable release is available.
minSdk = Config.minSdk
targetSdkPreview = Config.targetSdk
buildConfigField("long", "VERSION_CODE", "".getVersionCode().toString())

View File

@ -18,6 +18,7 @@
package org.kiwix.kiwixmobile.core.extensions
import android.annotation.SuppressLint
import android.content.Context
import android.view.ViewGroup.LayoutParams
import android.widget.EditText
@ -29,6 +30,7 @@ import org.kiwix.kiwixmobile.core.R
const val CLOSE_ICON_PADDING = 30
@SuppressLint("PrivateResource")
fun SearchView.setUpSearchView(context: Context) {
val heightAndWidth = context.resources.getDimensionPixelSize(
R.dimen.material_minimum_height_and_width

View File

@ -25,6 +25,8 @@ android {
compileSdkPreview = Config.compileSdk
defaultConfig {
applicationId = "org.kiwix"
// TODO: We will move this from here to AllProjectConfigure once
// Android 16 stable release is available.
minSdk = Config.minSdk
targetSdkPreview = Config.targetSdk
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"