Skip to content

Commit fe130fb

Browse files
committed
added android-maven plugin to restore jitpack support
1 parent 71d115d commit fe130fb

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed
0 Bytes
Binary file not shown.

build.gradle

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
32
buildscript {
43
repositories {
5-
jcenter()
6-
google()
4+
mavenCentral()
75
}
86
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.1.0'
10-
11-
// NOTE: Do not place your application dependencies here; they belong
12-
// in the individual module build.gradle files
7+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
138
}
14-
}
15-
16-
allprojects {
17-
repositories {
18-
jcenter()
19-
}
20-
}
21-
22-
task clean(type: Delete) {
23-
delete rootProject.buildDir
24-
}
9+
}

fragment/build.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
group='com.github.marksalpeter'
4+
5+
buildscript {
6+
repositories {
7+
jcenter()
8+
google()
9+
}
10+
dependencies {
11+
classpath 'com.android.tools.build:gradle:3.1.0'
12+
}
13+
}
14+
15+
allprojects {
16+
repositories {
17+
jcenter()
18+
google()
19+
}
20+
}
221

322
android {
423
compileSdkVersion 25

0 commit comments

Comments
 (0)