Skip to content

Commit 400a970

Browse files
committed
feat: jitpack maven-publish added
1 parent de1471f commit 400a970

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

easybilling/build.gradle

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id 'maven-publish'
45
}
56

7+
repositories {
8+
mavenCentral()
9+
google()
10+
jcenter()
11+
maven { url "https://jitpack.io" }
12+
}
13+
14+
group = 'com.github.applogistdev'
15+
version = '6.2.0'
16+
617
android {
718
compileSdkVersion 31
819
buildToolsVersion "31.0.0"
@@ -37,3 +48,17 @@ dependencies {
3748

3849
api 'com.android.billingclient:billing:5.0.0'
3950
}
51+
52+
afterEvaluate {
53+
publishing {
54+
publications {
55+
// Creates a Maven publication called "release".
56+
release(MavenPublication) {
57+
from components.release
58+
groupId = 'com.github.applogistdev'
59+
artifactId = 'easybilling-android'
60+
version = '3.0.0'
61+
}
62+
}
63+
}
64+
}

0 commit comments

Comments
 (0)