26 lines
864 B
Groovy
26 lines
864 B
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* The settings file is used to specify which projects to include in your build.
|
|
*
|
|
* Detailed information about configuring a multi-project build in Gradle can be found
|
|
* in the user manual at https://docs.gradle.org/6.7.1/userguide/multi_project_builds.html
|
|
*/
|
|
|
|
rootProject.name = 'project_name'
|
|
|
|
String[] includes = [
|
|
":lib"
|
|
]
|
|
|
|
|
|
includes.each { originalName ->
|
|
String projectDirectory = "${rootProject.projectDir.getAbsolutePath()}${originalName.replaceAll(":", File.separator)}"
|
|
String projectName = "${rootProject.name}${originalName.replaceAll(":", ".")}"
|
|
String projectIdentifier = ":${projectName}"
|
|
include projectIdentifier
|
|
ProjectDescriptor project = project(projectIdentifier)
|
|
project.name = projectName
|
|
project.projectDir = new File(projectDirectory)
|
|
}
|