Skip to content

Commit 9ae0123

Browse files
updated gradle for jitpack.io
1 parent c94da65 commit 9ae0123

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

debugoverlay/build.gradle

+17-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apply plugin: 'com.android.library'
22
// make sure this line comes *after* you apply the Android plugin
33
apply plugin: 'com.getkeepsafe.dexcount'
44

5+
plugins {
6+
id 'maven-publish'
7+
}
8+
59
android {
610
compileSdkVersion rootProject.ext.compileSdkVersion
711
buildToolsVersion rootProject.ext.buildToolsVersion
@@ -34,5 +38,16 @@ dependencies {
3438
compile "com.android.support:support-annotations:${supportLibraryVersion}"
3539
}
3640

37-
// for maven central deployment
38-
apply from: 'https://raw.githubusercontent.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
41+
publishing {
42+
publications {
43+
release(MavenPublication) {
44+
groupId = 'com.github.AlticeLabsProjects:DebugOverlay-Android'
45+
artifactId = 'DebugOverlay-Android-lib'
46+
version = '0.0.0'
47+
48+
afterEvaluate {
49+
from components.release
50+
}
51+
}
52+
}
53+
}

jitpack.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk8

0 commit comments

Comments
 (0)