Add method to include other project as included build
^KT-45745 In Progress
This commit is contained in:
committed by
teamcity
parent
ca76c00b6c
commit
f11ae83a3d
+17
@@ -257,6 +257,23 @@ class TestProject(
|
||||
""".trimIndent()
|
||||
)
|
||||
}
|
||||
|
||||
fun includeOtherProjectAsIncludedBuild(
|
||||
otherProjectName: String,
|
||||
pathPrefix: String
|
||||
) {
|
||||
val otherProjectPath = "$pathPrefix/$otherProjectName".testProjectPath
|
||||
otherProjectPath.copyRecursively(projectPath.resolve(otherProjectName))
|
||||
|
||||
projectPath.resolve(otherProjectName).addDefaultBuildFiles()
|
||||
|
||||
settingsGradle.append(
|
||||
"""
|
||||
|
||||
includeBuild '$otherProjectName'
|
||||
""".trimIndent()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private fun commonBuildSetup(
|
||||
|
||||
Reference in New Issue
Block a user