Skip to content

Commit 684790c

Browse files
committed
Add fitz lib in local
1 parent 6e4910c commit 684790c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

jni/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
configurations.maybeCreate("default")
2+
artifacts.add("default", file('mupdf-android-fitz-release.aar'))

lib/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ version = '1.21.0a'
77
dependencies {
88
implementation 'androidx.appcompat:appcompat:1.3.1'
99
implementation 'com.google.android.material:material:1.6.1'
10-
api files('../jni/mupdf-android-fitz-release.aar')
11-
// api 'com.artifex.mupdf:fitz:1.22.0'
10+
api project(':jni')
1211
}
1312

1413
android {

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ dependencyResolutionManagement {
2828
}
2929

3030
rootProject.name = "com.artifex.mupdf.viewer"
31+
include ':jni'
3132
include ':lib'
3233
include ':app'

0 commit comments

Comments
 (0)