Android gradle 3.0.0 buildConfigField warning after updating : <p>I recently installed the latest Canary build of Android Studio which is currently using the Android Gradle plugin <code>3.0.0-alpha4</code> (previous was <code>2.3.3</code>).</p>

<p>I now get a warning for all of my buildConfigFields:</p>

<pre><code>buildTypes {
        def BOOLEAN = "boolean"
        def STRING = "String"
        def INT = "int"
        def TRUE = "true"
        def FALSE = "false"
        def SOME_PER_BUILD_TYPE_FIELD = "SOME_PER_BUILD_TYPE_FIELD"

 debug {
            buildConfigField BOOLEAN, SOME_PER_BUILD_TYPE_FIELD, FALSE
}

 release {
            buildConfigField BOOLEAN, SOME_PER_BUILD_TYPE_FIELD, TRUE
}
</code></pre>

<p>The warnings read like:</p>

<pre><code>Warning:BuildType(debug): buildConfigField 'SOME_PER_BUILD_TYPE_FIELD' value is being replaced: false -&gt; false
Warning:BuildType(debug): buildConfigField 'SOME_STRING_FIELD' value is being replaced: "999" -&gt; "999"
</code></pre>

<p>And there is like 100 of them for my various fields and build types. How do I fix them and what is the warning actually telling me?</p>
