title: gradle openapi generator doesn't work for selective generation
body: <p>When we run gradle openapi generator tasks, part of the generated output has an <code>infrastructure</code> folder with all of the shared/common files required for the client to build.</p>
  <p>When I start specifying the apis and models that I want generated, then this infrastructure folder is no longer created, so nothing builds!!</p>
  <p>What am I doing wrong?</p>
  <pre><code>task buildMyClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask){
      generatorName = &quot;kotlin&quot;
      inputSpec = &quot;$rootDir/openapi/specs/myservice.yaml&quot;.toString()
      outputDir = &quot;$buildDir/generated&quot;.toString()
      apiPackage = &quot;com.mycompany.myservice&quot;
      packageName = &quot;com.mycompany.myservice&quot;
      modelPackage = &quot;com.mycompany.myservice.model&quot;
      globalProperties = [
          apis: &quot;MyController&quot;,
          models: &quot;MyApiRequest,MyApiResponse,EmbeddedApiResponse&quot;]
      configOptions = [
              &quot;enumPropertyNaming&quot;: &quot;UPPERCASE&quot;
      ]
  }
  </code></pre>
  <p>Here are the docs on the gradle plugin:
  <a href="https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator-gradle-plugin/README.adoc" rel="nofollow noreferrer">https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator-gradle-plugin/README.adoc</a></p>
  <p>Here are the docs on global properties:
  <a href="https://openapi-generator.tech/docs/globals/" rel="nofollow noreferrer">https://openapi-generator.tech/docs/globals/</a></p>
  <p>Seems that I might have to specify all supporting files? How do I do that? There isn't some way to use the default?</p>