Skip to content

Commit 603944c

Browse files
committed
Fix build failure
1 parent f723c0f commit 603944c

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ build
77
local.properties
88
MAVEN
99
tags
10+
.DS_Store
11+
app/.DS_Store

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ buildscript {
55
mavenLocal()
66
mavenCentral()
77
jcenter()
8+
9+
maven {
10+
url 'http://maven.ghostscript.com'
11+
allowInsecureProtocol = true
12+
}
813
maven { url "https://jitpack.io" }
914
}
1015
dependencies {
@@ -19,6 +24,11 @@ allprojects {
1924
mavenLocal()
2025
mavenCentral()
2126
jcenter()
27+
28+
maven {
29+
url 'http://maven.ghostscript.com'
30+
allowInsecureProtocol = true
31+
}
2232
maven { url "https://jitpack.io" }
2333
}
2434
}

lib/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,13 @@ android {
1919
minSdkVersion 21
2020
targetSdkVersion 31
2121
}
22-
publishing {
23-
singleVariant("release") {
24-
withSourcesJar()
25-
}
26-
}
2722
}
2823

2924
afterEvaluate {
3025
publishing {
3126
publications {
3227
release(MavenPublication) {
33-
from components.release
28+
// from components.release
3429
pom {
3530
groupId = 'com.artifex.mupdf.viewer'
3631
artifactId = 'mupdf'
@@ -63,6 +58,10 @@ afterEvaluate {
6358
mavenLocal()
6459
mavenCentral()
6560
jcenter()
61+
maven {
62+
url 'http://maven.ghostscript.com'
63+
allowInsecureProtocol = true
64+
}
6665
maven { url "https://jitpack.io" }
6766
}
6867
}

0 commit comments

Comments
 (0)