-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
39 lines (33 loc) · 1.43 KB
/
settings.gradle
File metadata and controls
39 lines (33 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
rootProject.name = 'methodatlas'
include 'methodatlas-api'
include 'methodatlas-discovery-jvm'
include 'methodatlas-discovery-dotnet'
include 'methodatlas-discovery-typescript'
include 'methodatlas-discovery-go'
include 'methodatlas-discovery-python'
include 'methodatlas-discovery-powershell'
include 'methodatlas-discovery-abap'
include 'methodatlas-discovery-cobol'
// Documentation PDF module — not part of the binary distribution.
// Build on request: ./gradlew :methodatlas-docs:generatePdf
include 'methodatlas-docs'
// Desktop GUI application (Swing + FlatLaf + RSyntaxTextArea)
// Build: ./gradlew :methodatlas-gui:build
// Run: ./gradlew :methodatlas-gui:run
include 'methodatlas-gui'
// ---------------------------------------------------------------------------
// Compatibility rewrite:
// Treat historical `./gradlew cyclonedxBom` as the MethodAtlas root
// distribution SBOM task.
// ---------------------------------------------------------------------------
def requestedTaskNames = gradle.startParameter.taskNames
def rewrittenTaskNames = requestedTaskNames.collect { taskName ->
if (taskName == 'cyclonedxBom' || taskName == ':cyclonedxBom') {
return ':cyclonedxDirectBom'
}
return taskName
}
if (rewrittenTaskNames != requestedTaskNames) {
println "Redirecting cyclonedxBom to :cyclonedxDirectBom for the MethodAtlas unified distribution SBOM."
gradle.startParameter.setTaskNames(rewrittenTaskNames)
}