Skip to content

Commit 6b32bb2

Browse files
committed
only publish local artifacts if artifact contains "local"
Signed-off-by: Adam Ratzman <[email protected]>
1 parent 44e94f8 commit 6b32bb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ kotlin {
172172
listOf(jvm(), js()).map { it.name } + "kotlinMultiplatform"
173173

174174
publishing {
175-
registerPublishing()
175+
if ("local" !in (version as String)) registerPublishing()
176176
}
177177

178178
targets {
@@ -297,7 +297,7 @@ kotlin {
297297
}
298298

299299
publishing {
300-
registerPublishing()
300+
if ("local" in (version as String)) registerPublishing()
301301
}
302302

303303
signing {

0 commit comments

Comments
 (0)