Error:No such property: manifestPlaceholders for class: com.android.build.gradle.managed.ProductFlavor
<p>I use <code>'gradle-experimental:0.4.0'</code> and I want to use onesignal sdk for my project. when I try to build the project with the code which have been mentioned in the example here I get this error:</p>

<blockquote>
  <p>Error:No such property: manifestPlaceholders for class:
  com.android.build.gradle.managed.ProductFlavor.</p>
</blockquote>

<p>Code in Sample</p>

<pre><code>android {
    defaultConfig {
        manifestPlaceholders = [manifestApplicationId: "${applicationId}",
                                onesignal_app_id: "bbbbbb-324f-34fd-bed1-df8f05be55ba",
                                onesignal_google_project_number: "11111111"]
    }
 }
</code></pre>

<p>Code in my project</p>

<pre><code>model {
    android {
        compileSdkVersion = 23
        buildToolsVersion = "23.0.2"
           defaultConfig.with {  
               applicationId = "com.myproject.company"   
                 manifestPlaceholders = [manifestApplicationId: "${applicationId}",
                                    onesignal_app_id: "234jfi4-2342-4a23-234-24235436546",
                                    onesignal_google_project_number: "111111111"]


            minSdkVersion.apiLevel = 16
            targetSdkVersion.apiLevel = 23
            versionCode = 3    
        }
</code></pre>

<p>Internet search revealed nothing. What should I do to remove this error?</p>