title: how to create gradle buildscript configuration
body: <p>How to create gradle buildscript configuration?</p>
  
  <p>The following gives me:
  "> Could not find method gradleCommon() for arguments [com.example:artefact:1.0.0] on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@5aaf4b6e.":</p>
  
  <pre><code>buildscript {
      configurations {
          gradleCommon
      }
  
      repositories {
          mavenCentral()
      }
  
      dependencies {
          gradleCommon 'com.example:artefact:1.0.0'
          classpath 'com.bmuschko:gradle-tomcat-plugin:2.0'
          classpath 'mysql:mysql-connector-java:5.1.27'
      }
  }
  </code></pre>