Using newly published 'libkiwix 1.0.0' from maven

This commit is contained in:
MohitMali 2023-07-25 18:38:34 +05:30
parent be57a6968e
commit f079a1ef88
4 changed files with 9 additions and 13 deletions

View File

@ -100,8 +100,6 @@ play {
dependencies {
androidTestImplementation(Libs.leakcanary_android_instrumentation)
implementation(files("/home/hp-pc03/Desktop/lib-debug.aar"))
api(fileTree(mapOf("include" to "*.aar", "dir" to "libs")))
}
task("generateVersionCodeAndName") {
val file = File("VERSION_INFO")

View File

@ -315,9 +315,9 @@ object Libs {
const val core_ktx: String = "androidx.core:core-ktx:" + Versions.core_ktx
/**
* https://github.com/kiwix/kiwix-lib
* https://github.com/kiwix/java-libkiwix
*/
const val kiwixlib: String = "org.kiwix.kiwixlib:kiwixlib:" + Versions.kiwixlib
const val libkiwix: String = "org.kiwix.libkiwix:libkiwix:" + Versions.libkiwix
/**
* https://github.com/material-components/material-components-android

View File

@ -86,7 +86,7 @@ object Versions {
const val core_ktx: String = "1.3.2"
const val kiwixlib: String = "11.0.0"
const val libkiwix: String = "1.0.0"
const val material: String = "1.2.1"

View File

@ -60,14 +60,12 @@ dependencies {
implementation(Libs.threetenabp)
// Get kiwixlib online if it is not populated locally
// if (!shouldUseLocalVersion()) {
// api(Libs.kiwixlib)
// } else {
// api(fileTree(mapOf("include" to "*.aar", "dir" to "libs")))
// }
implementation(files("/home/hp-pc03/Desktop/lib-debug.aar"))
if (!shouldUseLocalVersion()) {
api(Libs.libkiwix)
} else {
implementation("com.getkeepsafe.relinker:relinker:1.4.5")
api(fileTree(mapOf("include" to "*.aar", "dir" to "libs")))
}
// Document File
implementation(Libs.select_folder_document_file)