Skip to content

Commit 85d5db2

Browse files
committed
Sign for everything except publish maven local
1 parent 0d5a66c commit 85d5db2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ subprojects {
6666
jcenter()
6767
}
6868

69-
var shouldSign = true
7069

7170
tasks.withType<Sign>().configureEach {
72-
onlyIf { shouldSign }
71+
onlyIf { !project.gradle.startParameter.taskNames.contains("publishToMavenLocal")
72+
}
7373
}
7474

7575

@@ -169,9 +169,6 @@ subprojects {
169169
println("Skipping Firebase zip download")
170170
}
171171

172-
tasks.named("publishToMavenLocal").configure {
173-
shouldSign = false
174-
}
175172

176173
dependencies {
177174
"commonMainImplementation"(kotlin("stdlib-common"))

0 commit comments

Comments
 (0)