mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Merge pull request #1348 from kiwix/feature/mhutti1/#1259-subfix
#1259 Allow a local kiwix-lib aar to be used
This commit is contained in:
commit
b35c1db449
@ -48,7 +48,14 @@ String[] archs = ['arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64']
|
||||
dependencies {
|
||||
// use jdk8 java.time backport, as long app < Build.VERSION_CODES.O
|
||||
implementation("com.jakewharton.threetenabp:threetenabp:1.1.1")
|
||||
implementation 'org.kiwix.kiwixlib:kiwixlib:5.2.0'
|
||||
|
||||
// Get kiwixlib online if it is not populated locally
|
||||
if (!file("./libs").exists()) {
|
||||
implementation 'org.kiwix.kiwixlib:kiwixlib:5.2.0'
|
||||
} else {
|
||||
implementation 'com.getkeepsafe.relinker:relinker:1.3.1'
|
||||
implementation fileTree(include: ['*.aar'], dir: 'libs')
|
||||
}
|
||||
|
||||
// Android Support
|
||||
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
||||
|
Loading…
x
Reference in New Issue
Block a user