File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
- import com.github.benmanes.gradle.versions.VersionsPlugin
2
1
import de.marcphilipp.gradle.nexus.NexusPublishExtension
3
2
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
4
3
import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
@@ -165,7 +164,7 @@ subprojects {
165
164
extra[" signing.password" ] = signingPassword
166
165
167
166
configure<SigningExtension > {
168
- isRequired = signingPassword != null && file(secretKeyRingFile).exists()
167
+ isRequired = signingPassword != null && file(secretKeyRingFile).exists() && ! project.version.toString().endsWith( " -SNAPSHOT " )
169
168
170
169
// TODO: Is it possible to access publishing extension in a safer way?
171
170
val publishing: PublishingExtension by project.extensions
You can’t perform that action at this time.
0 commit comments