forked from randoop/randoop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
18 lines (16 loc) · 807 Bytes
/
settings.gradle
File metadata and controls
18 lines (16 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// These subprojects are in subdirectories of the 'agent/' directory.
include 'covered-class'
include 'replacecall'
// The project should be called "randoop", instead of the directory name
rootProject.name = 'randoop'
// Adds agent subprojects, omitting 'agent' directory name.
// Should not be necessary to change this unless need to change directory name.
// (adapted from https://github.com/gradle/gradle/blob/master/settings.gradle)
rootProject.children.each { project ->
String fileBaseName = project.name.replaceAll("\\p{Upper}") { "-${it.toLowerCase()}" }
String projectDirName = "agent/$fileBaseName"
project.projectDir = new File(settingsDir, projectDirName)
project.buildFileName = "${fileBaseName}.gradle"
assert project.projectDir.isDirectory()
assert project.buildFile.isFile()
}