Skip to content

Commit 0b416e2

Browse files
authored
Merge pull request #7 from FeernandoOFF/main
Updated :: Multi build variant publishing
2 parents 1aa1823 + 383ed4a commit 0b416e2

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

debugMenu/build.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ plugins {
77

88
publishing {
99
publications {
10-
register<MavenPublication>("release") {
10+
register<MavenPublication>("default") {
1111
groupId = "com.tapadoo"
1212
artifactId = "debugmenu"
13-
version = "1.0.3"
13+
version = "1.0.6"
1414

1515
afterEvaluate {
16-
from(components["release"])
16+
from(components["default"])
1717
}
1818
}
1919
}
@@ -49,7 +49,8 @@ android {
4949
}
5050

5151
publishing {
52-
singleVariant("release") {
52+
multipleVariants {
53+
includeBuildTypeValues("debug", "release")
5354
withSourcesJar()
5455
withJavadocJar()
5556
}
@@ -79,4 +80,5 @@ dependencies {
7980
testImplementation("junit:junit:4.13.2")
8081
androidTestImplementation("androidx.test.ext:junit:1.2.1")
8182
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
82-
}
83+
}
84+

0 commit comments

Comments
 (0)