We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ed6095 commit e039ee9Copy full SHA for e039ee9
1 file changed
NavifyLibrary/build.gradle.kts
@@ -1,5 +1,6 @@
1
plugins {
2
alias(libs.plugins.android.library)
3
+ id("maven-publish")
4
}
5
6
android {
@@ -26,6 +27,12 @@ android {
26
27
sourceCompatibility = JavaVersion.VERSION_17
28
targetCompatibility = JavaVersion.VERSION_17
29
30
+ publishing {
31
+ singleVariant("release") {
32
+ withSourcesJar()
33
+ withJavadocJar()
34
+ }
35
36
37
38
dependencies {
@@ -36,4 +43,16 @@ dependencies {
43
androidTestImplementation(libs.ext.junit)
44
androidTestImplementation(libs.espresso.core)
45
46
+afterEvaluate {
47
48
+ publications {
49
+ create<MavenPublication>("release") {
50
+ from(components["release"])
51
+ groupId = "com.github.b3ddodev"
52
+ artifactId = "Navify"
53
+ version = "1.0.0-0103-rls"
54
55
56
57
+}
39
58
0 commit comments