-
Notifications
You must be signed in to change notification settings - Fork 64
/
settings.gradle.kts
57 lines (53 loc) · 1.86 KB
/
settings.gradle.kts
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
rootProject.name = "cpg"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include(":cpg-all")
include(":cpg-core")
include(":cpg-analysis")
include(":cpg-neo4j")
include(":cpg-console")
// this code block also exists in the root build.gradle.kts
val enableJavaFrontend: Boolean by extra {
val enableJavaFrontend: String? by settings
enableJavaFrontend.toBoolean()
}
val enableCXXFrontend: Boolean by extra {
val enableCXXFrontend: String? by settings
enableCXXFrontend.toBoolean()
}
val enableGoFrontend: Boolean by extra {
val enableGoFrontend: String? by settings
enableGoFrontend.toBoolean()
}
val enablePythonFrontend: Boolean by extra {
val enablePythonFrontend: String? by settings
enablePythonFrontend.toBoolean()
}
val enableLLVMFrontend: Boolean by extra {
val enableLLVMFrontend: String? by settings
enableLLVMFrontend.toBoolean()
}
val enableTypeScriptFrontend: Boolean by extra {
val enableTypeScriptFrontend: String? by settings
enableTypeScriptFrontend.toBoolean()
}
val enableRubyFrontend: Boolean by extra {
val enableRubyFrontend: String? by settings
enableRubyFrontend.toBoolean()
}
val enableJVMFrontend: Boolean by extra {
val enableJVMFrontend: String? by settings
enableJVMFrontend.toBoolean()
}
val enableINIFrontend: Boolean by extra {
val enableINIFrontend: String? by settings
enableINIFrontend.toBoolean()
}
if (enableJavaFrontend) include(":cpg-language-java")
if (enableCXXFrontend) include(":cpg-language-cxx")
if (enableGoFrontend) include(":cpg-language-go")
if (enableLLVMFrontend) include(":cpg-language-llvm")
if (enablePythonFrontend) include(":cpg-language-python")
if (enableTypeScriptFrontend) include(":cpg-language-typescript")
if (enableRubyFrontend) include(":cpg-language-ruby")
if (enableJVMFrontend) include(":cpg-language-jvm")
if (enableINIFrontend) include(":cpg-language-ini")