title: Could not set unknown property 'localProperties' for project ':app' of type org.gradle.api.Project
body: <p>Hello After upgrading Android studio to <code>3.3.2</code> , I get this error every time I run the app:</p>
  
  <pre><code>Could not set unknown property 'localProperties' for project ':app' of type org.gradle.api.Project
  </code></pre>
  
  <p>My <code>build.gradle</code>:</p>
  
  <pre><code>testInstrumentationRunnerdef localProperties = new Properties()
  def localPropertiesFile = rootProject.file('local.properties')
  if (localPropertiesFile.exists()) {
      localPropertiesFile.withReader('UTF-8') { reader -&gt;
          localProperties.load(reader)
      }
  }
  </code></pre>