-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathsettings.gradle.kts
69 lines (62 loc) · 2.05 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
58
59
60
61
62
63
64
65
66
67
68
69
rootProject.name = "cpg"
plugins {
id("org.jetbrains.kotlinx.kover.aggregation") version "0.9.0"
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include(":cpg-core")
include(":cpg-analysis")
include(":cpg-neo4j")
include(":cpg-console")
include(":cpg-concepts")
include(":codyze")
include(":codyze-core")
include(":codyze-compliance")
// 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")
kover {
enableCoverage()
}