Skip to content

Commit e039ee9

Browse files
committed
🍥 Update Navify
1 parent 5ed6095 commit e039ee9

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

NavifyLibrary/build.gradle.kts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
alias(libs.plugins.android.library)
3+
id("maven-publish")
34
}
45

56
android {
@@ -26,6 +27,12 @@ android {
2627
sourceCompatibility = JavaVersion.VERSION_17
2728
targetCompatibility = JavaVersion.VERSION_17
2829
}
30+
publishing {
31+
singleVariant("release") {
32+
withSourcesJar()
33+
withJavadocJar()
34+
}
35+
}
2936
}
3037

3138
dependencies {
@@ -36,4 +43,16 @@ dependencies {
3643
androidTestImplementation(libs.ext.junit)
3744
androidTestImplementation(libs.espresso.core)
3845
}
46+
afterEvaluate {
47+
publishing {
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+
}
3958

0 commit comments

Comments
 (0)