How do I pass password to Gradle?

My Gradle build script uses Artifactory. I need to pass username/password to Gradle. How do I do that?

Hello

If you are asking about the Codefresh side, you can use pipeline variables or shared configuration

If you are asking about the Gradle side, you can follow their official docs