title: Could not find property "VERSION NAME" on root project?
body: <p>I've forked a project on GitHub. I've then cloned it using Android Studio. But when I try to open it, it says "Could not find property "VERSION NAME" on root project". I presume this has something to do with the grade settings?
      buildscript {</p>
  
  <pre><code>repositories {
      mavenCentral()
  }
  
  dependencies {
      classpath 'com.android.tools.build:gradle:1.2.3'
      classpath 'com.github.dcendents:android-maven-plugin:1.2'
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  </code></pre>
  
  <p>}</p>
  
  <pre><code>def isReleaseBuild() {
  return version.contains("SNAPSHOT") == false
  </code></pre>
  
  <p>}</p>
  
  <pre><code>allprojects {
  version = VERSION_NAME
  group = GROUP
  
  repositories {
      mavenCentral()
  }
  </code></pre>
  
  <p>}</p>