title: Gradle task --help printed to console instead of my application execution
body: <p>This is my build.gradle file:</p>
  
  <pre><code>plugins {
      id 'org.springframework.boot' version '2.1.11.RELEASE'
      id 'io.spring.dependency-management' version '1.0.8.RELEASE'
      id 'java'
  }
  
  group = 'com.example.ProjectJar'
  version = '0.0.1-SNAPSHOT'
  sourceCompatibility = '11'
  
  repositories {
      mavenCentral()
  }
  jar {
      from {
          (configurations.runtime).collect {
              it.isDirectory() ? it : zipTree(it)
          }
      }
      manifest {
          attributes("Main-Class": "com.example.ProjectJar.ProjectJar.FileSend" )
      }
  }
  dependencies {
      implementation 'org.springframework.boot:spring-boot-starter'
      testImplementation 'org.springframework.boot:spring-boot-starter-test'
      compile 'io.minio:minio:6.0.11'
  }
  </code></pre>
  
  <p>But instead of execution of my main class that does have a main function, I get the following output:</p>
  
  <blockquote>
    <blockquote>
      <p>Task :help</p>
    </blockquote>
    
    <p>Welcome to Gradle 5.6.4.</p>
    
    <p>To run a build, run gradle  ...</p>
    
    <p>To see a list of available tasks, run gradle tasks</p>
    
    <p>To see a list of command-line options, run gradle --help</p>
    
    <p>To see more detail about a task, run gradle help --task </p>
    
    <p>For troubleshooting, visit <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p>
    
    <p>BUILD SUCCESSFUL in 43ms</p>
  </blockquote>
  
  <p>What should I do to have my main class execute instead of this?</p>