Skip to content

Commit 17e06c9

Browse files
committed
Fix build failure
1 parent 2a54235 commit 17e06c9

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
buildscript {
22
repositories {
3-
if (project.hasProperty('MAVEN_REPO')) {
4-
maven { url MAVEN_REPO }
5-
} else {
6-
maven { url "file://${System.properties['user.home']}/MAVEN" }
7-
}
83
google()
94
mavenCentral()
105
mavenLocal()
@@ -17,11 +12,6 @@ buildscript {
1712

1813
allprojects {
1914
repositories {
20-
if (project.hasProperty('MAVEN_REPO')) {
21-
maven { url MAVEN_REPO }
22-
} else {
23-
maven { url "file://${System.properties['user.home']}/MAVEN" }
24-
}
2515
maven { url 'https://maven.ghostscript.com/' }
2616
mavenLocal()
2717
google()

lib/build.gradle

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
}
2727
}
2828

29-
project.afterEvaluate {
29+
afterEvaluate {
3030
publishing {
3131
publications {
3232
release(MavenPublication) {
@@ -40,6 +40,13 @@ project.afterEvaluate {
4040
url = 'https://www.gnu.org/licenses/agpl-3.0.html'
4141
}
4242
}
43+
developers {
44+
developer {
45+
id = 'vishalnehra'
46+
name = 'Vishal Nehra'
47+
email = 'vishalmeham2@gmail.com'
48+
}
49+
}
4350
scm {
4451
connection = 'scm:git@github.com:TeamAmaze/mupdf-android-viewer.git'
4552
developerConnection = 'scm:git@github.com:TeamAmaze/mupdf-android-viewer.git'
@@ -51,14 +58,6 @@ project.afterEvaluate {
5158
}
5259
}
5360
repositories {
54-
maven {
55-
name 'Local'
56-
if (project.hasProperty('MAVEN_REPO')) {
57-
url = MAVEN_REPO
58-
} else {
59-
url = "file://${System.properties['user.home']}/MAVEN"
60-
}
61-
}
6261
mavenLocal()
6362
maven { url "https://jitpack.io" }
6463
}

0 commit comments

Comments
 (0)