I want to use System.console()
in my build.gradle
to let the user enters the password for the keystore.
But then i execute
gradlew assembleRelease --no-daemon
i always get
Cannot invoke method readPassword() on null object
How can i request user input for gradlew on windows?
I searched a lot on google and stack overflow but nothing works.