Gradle Build Script Classpath

From NovaOrdis Knowledge Base
Revision as of 00:24, 4 October 2020 by Ovidiu (talk | contribs) (→‎Overview)
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'
  }
}