Gradle Build Script Classpath: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Gradle Project =Overview=") |
|||
Line 2: | Line 2: | ||
* [[Gradle Project#Build_Script_Classpath|Gradle Project]] | * [[Gradle Project#Build_Script_Classpath|Gradle Project]] | ||
=Overview= | =Overview= | ||
The build script classpath for a project can be configured with [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#buildscript-groovy.lang.Closure- Project.buildscript(Closure)] which corresponds to the "buildscript" [[build.gradle]] DSL element: | |||
<syntaxhighlight lang='groovy'> | |||
buildscript { | |||
// configuration closure | |||
} | |||
</syntaxhighlight> |
Revision as of 00:23, 4 October 2020
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
}