-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle.kts
48 lines (37 loc) · 1.18 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
import buildparameters.BuildParametersExtension
pluginManagement {
includeBuild("gradle/plugins")
}
plugins {
id("build.build-parameters")
id("com.gradle.enterprise") version "3.11.1"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1"
}
includeBuild("gradle/plugins")
include("miniprofiler-core")
include("miniprofiler-javaee")
include("miniprofiler-servlet")
include("miniprofiler-test-support")
include("miniprofiler-grails")
include("miniprofiler-ratpack")
include("miniprofiler-jooq")
include("doc:manual")
include("integration-test:servlet")
include("integration-test:glassfish4")
include("integration-test:wildfly8")
include("integration-test:ratpack")
rootProject.name = "miniprofiler-jvm"
fun setBuildFile(project: ProjectDescriptor) {
project.buildFileName = if (File(project.projectDir, "${project.name}.gradle").exists()) "${project.name}.gradle" else "${project.name}.gradle.kts"
project.children.forEach {
setBuildFile(it)
}
}
setBuildFile(rootProject)
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
val buildParameters = the<BuildParametersExtension>()
buildCache {
local {
isEnabled = !buildParameters.ci
}
}