In Android gradle, I'm thinking of logging what I'm signed on with, by adding the println
as below
signingConfigs {
debug {
storeFile file("./debug.keystore")
println('Sign with Debug')
}
release {
storeFile file("./release.keystore")
storePassword "XXX"
keyAlias "YYY"
keyPassword "ZZZ"
println('Sign with Release')
}
}
In the gradle console, it shows both
Sign with Debug
Sign with Release
I also tried project.logger.lifecycle
as per https://stackoverflow.com/a/40895807/3286489. Same thing happen.
What I want is to only show the one that I'm actually sign with instead of both. How could I achieve that?