Gradle Project and Build Script: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Gradle Concepts =Overview=")
 
Line 4: Line 4:


=Overview=
=Overview=
=External=
* Build script structure https://docs.gradle.org/current/dsl/#N10060
=Internal=
* [[Gradle_Concepts#Build_Script|Gradle Concepts]]
=Overview=
All top level statements within a Gradle build script are delegated to the corresponding [[Gradle_Project#Overview|Project]] instance.
=Top-Level Script Blocks=
==allprojects{}==
Applies the given configuration closure, in order, to the current project and all of its ''sub-projects''.
==subprojects{}==
Applies the given configuration closure, in order, to all ''sub-projects'' of the current project.
==artifacts{}==
==buildscript{}==
==configurations{}==
==dependencies{}==
==repositories{}==
==sourceSets{}==
==publishing{}==

Revision as of 21:56, 17 May 2018

Internal

Overview

External

Internal

Overview

All top level statements within a Gradle build script are delegated to the corresponding Project instance.

Top-Level Script Blocks

allprojects{}

Applies the given configuration closure, in order, to the current project and all of its sub-projects.

subprojects{}

Applies the given configuration closure, in order, to all sub-projects of the current project.

artifacts{}

buildscript{}

configurations{}

dependencies{}

repositories{}

sourceSets{}

publishing{}