Gradle Build Script Classpath

From NovaOrdis Knowledge Base
Revision as of 22:55, 11 October 2020 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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'
  }
}