Gradle Build Script Classpath

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

The build script classpath for a project can be configured with Project.buildscript(Closure) which corresponds to the "buildscript" build.gradle DSL element:

buildscript {

  // configuration closure

  repositories {
    mavenLocal()
  }
  
  dependencies {
    classpath 'playground.example:example:0.1.0'
  }
}