title: Could not get unknown property 'experimentalProperties' for extension 'android' | Android Jetpack Macrobenchmark
body: <p>I am following macrobenchmark setup configurations from -
  <a href="https://developer.android.com/studio/profile/macrobenchmark#configuration" rel="nofollow noreferrer">https://developer.android.com/studio/profile/macrobenchmark#configuration</a></p>
  <p>In following code in my macrobenchmark's build.gradle</p>
  <pre><code>android {
      compileSdkVersion 30
      buildToolsVersion &quot;30.0.3&quot;
  
      defaultConfig {
          minSdkVersion 29
          targetSdkVersion 30
          versionCode 1
          versionName &quot;1.0&quot;
  
          testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
          consumerProguardFiles &quot;consumer-rules.pro&quot;
      }
  
      targetProjectPath = &quot;:app&quot; // Note that your module name may be different
      experimentalProperties[&quot;android.experimental.self-instrumenting&quot;] = true
      buildTypes {
          release {
              debuggable = true
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
  }
  
  </code></pre>
  <p>following build error is thrown while gradle sync:</p>
  <pre><code>A problem occurred evaluating project ':macrobenchmark'.
  &gt; Could not get unknown property 'experimentalProperties' for extension 'android' of type com.android.build.gradle.TestExtension.
  
  </code></pre>
  <p>I'm new to android, any help is appreciated, thanks in advance.</p>