2323}
2424
2525// Replace these versions with the latest available versions of libkiwix and libzim
26- ext. libkiwix_version = " 13.1.0-1 "
27- ext. libzim_version = " 9.2.1"
26+ ext. libkiwix_version = " 13.1.0-3 "
27+ ext. libzim_version = " 9.2.1-1 "
2828
2929apply from : ' publish.gradle'
3030android {
@@ -93,7 +93,7 @@ tasks.register('downloadLibzimSoAndHeaderFiles', Download) {
9393 libzim_base_url + ' libzim_android-arm64-' + libzim_version + ' .tar.gz' ,
9494 libzim_base_url + ' libzim_android-x86-' + libzim_version + ' .tar.gz' ,
9595 libzim_base_url + ' libzim_android-x86_64-' + libzim_version + ' .tar.gz' ,
96- libzim_base_url + ' libzim_linux-x86_64-bionic- ' + libzim_version + ' .tar.gz'
96+ libzim_base_url + ' libzim_linux-x86_64-' + libzim_version + ' .tar.gz'
9797 ])
9898 dest buildDir
9999 overwrite true
@@ -114,7 +114,7 @@ tasks.register('unzipLibzim', Copy) {
114114 from tarTree(buildDir. path + " /libzim_android-x86_64-" + libzim_version + " .tar.gz" )
115115 into buildDir
116116 // unzip linux x86_64
117- from tarTree(buildDir. path + " /libzim_linux-x86_64-bionic- " + libzim_version + " .tar.gz" )
117+ from tarTree(buildDir. path + " /libzim_linux-x86_64-" + libzim_version + " .tar.gz" )
118118 into buildDir
119119}
120120
@@ -155,7 +155,7 @@ tasks.register('copyLibzimHeaderAndSoFiles', Copy) {
155155
156156 copy {
157157 // copying linux_x86_64 so file
158- from buildDir. path + " /libzim_linux-x86_64-bionic /lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
158+ from buildDir. path + " /libzim_linux-x86_64/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
159159 into buildDir. path
160160 }
161161}
0 commit comments