mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Using newly published 'libkiwix 1.0.0' from maven
This commit is contained in:
parent
be57a6968e
commit
f079a1ef88
@ -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")
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"))
|
||||
implementation("com.getkeepsafe.relinker:relinker:1.4.5")
|
||||
api(fileTree(mapOf("include" to "*.aar", "dir" to "libs")))
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user