title: Flutter: how do I pass Gradle params when building an APK?
body: <p>When building a regular Android app with Gradle, I can add params as such:</p>
  
  <pre><code>./gradlew assembleRelease -Pusername=foo -Ppassword=bar
  </code></pre>
  
  <p>With Flutter, this is what I'm supposed to call in order to assemble an APK:</p>
  
  <pre><code>flutter build apk
  </code></pre>
  
  <p>How do I pass the params to Gradle in this case?</p>
  
  <p>P.S. I'm trying to use Jenkins credentials in a pipeline configuration. I do not want to expose my password, so avoiding using the arguments and putting it directly into the project is not an option.</p>