The README says:
Or by setting SBT_PGP_USE_GPG environment variable to 0.
This is wrong on two counts:
|
sys.props.get("SBT_PGP_USE_GPG") match { |
|
case Some(_) => java.lang.Boolean.getBoolean("SBT_PGP_USE_GPG") |
|
case None => true |
|
} |
- While setting the system property to 0 would indeed result in
java.lang.Boolean.getBoolean("SBT_PGP_USE_GPG") returning false, the same would happen if it was set to 1. Boolean system properties should be set to either "false" or "true" to be properly parsed by java.lang.Boolean.getBoolean.
The README says:
This is wrong on two counts:
sbt-pgp/sbt-pgp/src/main/scala/com/jsuereth/sbtpgp/PgpSettings.scala
Lines 22 to 25 in 90465fc
java.lang.Boolean.getBoolean("SBT_PGP_USE_GPG")returningfalse, the same would happen if it was set to 1. Boolean system properties should be set to either"false"or"true"to be properly parsed byjava.lang.Boolean.getBoolean.