title: How to have android { } block outside build.gradle.kts
body: <p>I used to have the following structure before migrating to .kts:</p>
  <p><code>app/build.gradle</code></p>
  <pre><code>...
  apply from &quot;secrets.gradle&quot;
  
  android {
  
  ...
  
  }
  </code></pre>
  <p><code>secrets.gradle</code></p>
  <pre><code>android {
      signingConfigs {
         ...
         // extra stuff that used to get merged
      }
  }
  </code></pre>
  <p>I recently converted them to .kts. I get <code>Unresolved reference: android</code> in secrets.gradle.kts.</p>
  <p>Commenting out <code>apply(from = &quot;secrets.gradle.kts&quot;)</code> from app/build.gradle.kts gets rid of the error, so it seems like android { } block is not allowed in secrets.gradle.kts</p>
  <p>Is there a way to have android { } block in secrets.gradle.kts and get the previous merging behaviour?</p>