title: No signature of method: org.gradle.api.java.archives.internal.DefaultManifest.srcFile()
body: <p>In Android studio, I just want to define a custom project structure for android project(follow this, <a href="http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Project-Structure" rel="nofollow">http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Project-Structure</a>), but when run:
      ./gradlew tasks
  I got the error: A problem occurred evaluating root project 'greendao-example'.</p>
  
  <blockquote>
    <p>No signature of method: org.gradle.api.java.archives.internal.DefaultManifest.srcFile() is applicable for argument types: (java.lang.String) values: [AndroidManifest.xml]</p>
  </blockquote>
  
  <p>The build.gradle is:</p>
  
  <pre><code>buildscript {
    repositories {
        mavenCentral()
  }
  
     dependencies {
       classpath 'com.android.tools.build:gradle:0.5.+'
     }
  
  }
  
  apply plugin: 'android'
  apply plugin: 'java'
  
    repositories {
  mavenCentral()
  }
  
  dependencies {
  compile 'com.android.support:support-v4:13.0.+'
  }
  
  android {
      testBuildType = "debug"
  
      defaultConfig {
      versionCode = 1
      versionName = "0.1"
      minSdkVersion = 9
      targetSdkVersion = 17
  
  
      compileSdkVersion = 17
      buildConfig "private final static boolean DEFAULT = true;", \
                  "private final static String FOO = \"foo\";"
      }
  
      buildTypes {
      debug {
          packageNameSuffix = ".debug"
  
          buildConfig "private final static boolean DEBUG2 = false;"
      }
      }
  
      aaptOptions {
      noCompress "txt"
      }
      sourceSets {          
       manifest.srcFile  'AndroidManifest.xml'
  
    }
  }
  </code></pre>