Skip to content

Commit 8bdb1a6

Browse files
committed
Add fitz lib in local
1 parent 684790c commit 8bdb1a6

File tree

5 files changed

+38
-4
lines changed

5 files changed

+38
-4
lines changed

jni/build.gradle

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +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 project(':jni')
10+
api project(':mupdf-android-fitz')
1111
}
1212

1313
android {

mupdf-android-fitz/build.gradle

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
apply plugin: 'maven-publish'
2+
3+
configurations.maybeCreate("default")
4+
artifacts.add("default", file('mupdf-android-fitz-release.aar'))
5+
6+
group = 'com.artifex.mupdf'
7+
version = '1.21.0a'
8+
9+
afterEvaluate {
10+
publishing {
11+
publications {
12+
release(MavenPublication) {
13+
// from components.release
14+
pom {
15+
groupId = 'com.artifex.mupdf.viewer'
16+
artifactId = 'mupdf-android-fitz'
17+
licenses {
18+
license {
19+
name = 'GNU Affero General Public License'
20+
url = 'https://www.gnu.org/licenses/agpl-3.0.html'
21+
}
22+
}
23+
developers {
24+
developer {
25+
id = 'vishalnehra'
26+
name = 'Vishal Nehra'
27+
email = 'vishalmeham2@gmail.com'
28+
}
29+
}
30+
description = 'Mupdf Android Fitz'
31+
version = '1.0.0'
32+
}
33+
}
34+
}
35+
}
36+
}

settings.gradle

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

3030
rootProject.name = "com.artifex.mupdf.viewer"
31-
include ':jni'
31+
include ':mupdf-android-fitz'
3232
include ':lib'
3333
include ':app'

0 commit comments

Comments
 (0)