title: Clean task not found in gradle
body: <p>I have a gradle build file and am not able to execute a build. I am working with old code and the code should be built with <code>1.0-milestone-7</code> version since other projects use this version.</p>
  
  <pre><code>apply plugin: 'idea'
  apply plugin: 'java'
  apply plugin: 'base'
  apply plugin: 'application'
  
  assert gradle.gradleVersion == '1.0-milestone-7'
  
  mainClassName = "my.ClassTest"
  
  buildscript {
      repositories {
          mavenLocal()
          mavenCentral()
      }
  }
  
  test {
      systemProperties = System.properties
  }
  
  
  c:\work\gradletest\&gt; gradle clean
  FAILURE: Could not determine which tasks to execute.
  
  * What went wrong:
  Task 'clean' not found in root project 'gradletest'.
  
  * Try:
  Run gradle tasks to get a list of available tasks.
  </code></pre>
  
  <p>Anything I forgot?</p>