title: task zip for Gradle 5 Could not set unknown property ‘archiveBaseName’
body: <p>The <code>baseName</code> property has been deprecated and documentation states <a href="https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html#org.gradle.api.tasks.bundling.Zip:baseName" rel="nofollow noreferrer">here</a> that: </p>
  
  <blockquote>
    <p>Note: This property has been replaced by archiveBaseName.</p>
  </blockquote>
  
  <p>Yet, when I try to set this property in a zip task I got the error: <code>Could not set unknown property ‘archiveBaseName’</code></p>
  
  <p>I am using Gradle wrapper with version 5.4.1 and this is the configuration that I am using: </p>
  
  <pre><code>task packageNpmApp(type: Zip) {
      dependsOn npm_run_build
      archiveBaseName 'npm-app'
  ...
  </code></pre>
  
  <p>The build succeeds when I use the deprecated property <code>baseName</code> rather than <code>archiveBaseName</code>. But I would like to use the most recent API.</p>