name.remal.signing-settings

Plugin class: name.remal.gradle_plugins.plugins.signing.SigningSettingsPlugin

plugins {
    id 'name.remal.signing-settings' version '1.0.203'
}
plugins {
    id("name.remal.signing-settings") version "1.0.203"
}

 

This plugin works only if signing plugin is applied.

 

This plugin helps to configure signing plugin.

The plugin:

  • Sets signing.keyId property from SIGNING_KEY_ID environment variable.
  • Sets signing.password property from SIGNING_PASSWORD environment variable.
  • Sets signing.secretKeyRingFile property to a temp file with Base64-encoded content of SIGNING_SECRET_KEY_RING_BASE64 and SIGNING_SECRET_KEY_RING_BASE64_1..SIGNING_SECRET_KEY_RING_BASE64_9 environment variables.
  • Sets signing.secretKeyRingFile property from SIGNING_SECRET_KEY_RING_FILE environment variable.
  • Supports classpath: prefix for signing.secretKeyRingFile property. It uses classpath of current build script.

If maven-publish plugin is applied, the plugin sign every MavenPublication.