Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Changes
Page history
Updated documentation
authored
Nov 06, 2017
by
Christian Bauer
Show whitespace changes
Inline
Side-by-side
Developer-Guide:-Creating-a-custom-project.md
View page @
8346d113
...
...
@@ -138,15 +138,14 @@ gradle wrapper --gradle-version 4.2.1
Then write a
`settings.gradle`
file:
```
rootProject.name = "my
extension1
"
rootProject.name = "my
project
"
// Include sub-projects dynamically, every directory with a build.gradle (and no .buildignore)
def rootDir = new File(".").canonicalPath
fileTree(dir: rootDir, include: "**/build.gradle")
.filter { it.parent != rootDir }
.filter { !file("${it.parent}/.buildignore").exists() }
.each {
include it.parent.replace(rootDir, "").replace("\\", ":").replace("/", ":")
include it.parent.replace(rootDir
.canonicalPath
, "").replace("\\", ":").replace("/", ":")
}
```
...
...
...
...