mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-18 11:55:38 -04:00
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:
parent
b1fa6ac998
commit
5d88048976
@ -30,6 +30,8 @@ android {
|
|||||||
namespace = "org.kiwix.kiwixmobile"
|
namespace = "org.kiwix.kiwixmobile"
|
||||||
compileSdkPreview = Config.compileSdk
|
compileSdkPreview = Config.compileSdk
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
// TODO: We will move this from here to AllProjectConfigure once
|
||||||
|
// Android 16 stable release is available.
|
||||||
minSdk = Config.minSdk
|
minSdk = Config.minSdk
|
||||||
base.archivesName.set(apkPrefix)
|
base.archivesName.set(apkPrefix)
|
||||||
targetSdkPreview = Config.targetSdk
|
targetSdkPreview = Config.targetSdk
|
||||||
|
@ -16,7 +16,7 @@ object Versions {
|
|||||||
|
|
||||||
const val org_jetbrains_kotlinx_kotlinx_coroutines: String = "1.10.1"
|
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"
|
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_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"
|
const val io_objectbox: String = "4.0.3"
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ object Versions {
|
|||||||
|
|
||||||
const val leakcanary_android: String = "2.14"
|
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"
|
const val swipe_refresh_layout: String = "1.1.0"
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@ apply(plugin = "io.objectbox")
|
|||||||
android {
|
android {
|
||||||
compileSdkPreview = Config.compileSdk
|
compileSdkPreview = Config.compileSdk
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
// TODO: We will move this from here to AllProjectConfigure once
|
||||||
|
// Android 16 stable release is available.
|
||||||
minSdk = Config.minSdk
|
minSdk = Config.minSdk
|
||||||
targetSdkPreview = Config.targetSdk
|
targetSdkPreview = Config.targetSdk
|
||||||
buildConfigField("long", "VERSION_CODE", "".getVersionCode().toString())
|
buildConfigField("long", "VERSION_CODE", "".getVersionCode().toString())
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
package org.kiwix.kiwixmobile.core.extensions
|
package org.kiwix.kiwixmobile.core.extensions
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.view.ViewGroup.LayoutParams
|
import android.view.ViewGroup.LayoutParams
|
||||||
import android.widget.EditText
|
import android.widget.EditText
|
||||||
@ -29,6 +30,7 @@ import org.kiwix.kiwixmobile.core.R
|
|||||||
|
|
||||||
const val CLOSE_ICON_PADDING = 30
|
const val CLOSE_ICON_PADDING = 30
|
||||||
|
|
||||||
|
@SuppressLint("PrivateResource")
|
||||||
fun SearchView.setUpSearchView(context: Context) {
|
fun SearchView.setUpSearchView(context: Context) {
|
||||||
val heightAndWidth = context.resources.getDimensionPixelSize(
|
val heightAndWidth = context.resources.getDimensionPixelSize(
|
||||||
R.dimen.material_minimum_height_and_width
|
R.dimen.material_minimum_height_and_width
|
||||||
|
@ -25,6 +25,8 @@ android {
|
|||||||
compileSdkPreview = Config.compileSdk
|
compileSdkPreview = Config.compileSdk
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "org.kiwix"
|
applicationId = "org.kiwix"
|
||||||
|
// TODO: We will move this from here to AllProjectConfigure once
|
||||||
|
// Android 16 stable release is available.
|
||||||
minSdk = Config.minSdk
|
minSdk = Config.minSdk
|
||||||
targetSdkPreview = Config.targetSdk
|
targetSdkPreview = Config.targetSdk
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user