Skip to content

Commit

Permalink
[docs] Document the use of gradleProjects. Resolves #487
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Sep 15, 2021
1 parent 8a22968 commit 3e1da9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -84,6 +84,8 @@ projects {
prefix
suffix
directories([String: String]) // optional
includeProjects(String dir)
.exclude(String projectName) // optional
.includeIf(boolean) // optional
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/src/docs/asciidoc/projects-dsl.adoc
Expand Up @@ -11,7 +11,7 @@ The DSL is comprised of the following elements
[source,groovy]
[subs="+macros"]
----
projects {
gradleProjects {
all {
condition(Function<Project,Boolean>) {
// configuration
Expand Down Expand Up @@ -92,7 +92,7 @@ config {
// ...
}
projects
gradleProjects {
all {
path('*') {
repositories {
Expand Down

0 comments on commit 3e1da9b

Please sign in to comment.