-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle.kts
47 lines (40 loc) · 1.24 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
import net.twisterrob.gradle.settings.enableFeaturePreviewQuietly
// TODEL https://github.com/gradle/gradle/issues/18971
rootProject.name = "net-twisterrob-ghlint"
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
enableFeaturePreviewQuietly("TYPESAFE_PROJECT_ACCESSORS", "Type-safe project accessors")
pluginManagement {
includeBuild("gradle/plugins")
repositories {
gradlePluginPortal()
}
}
plugins {
id("net.twisterrob.gradle.plugin.settings") version "0.17"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
}
}
includeModule(":ghlint")
includeModule(":ghlint-api")
includeModule(":ghlint-cli")
includeModule(":ghlint-docs")
includeModule(":ghlint-extensions")
includeModule(":ghlint-jsonschema")
includeModule(":ghlint-reporting-sarif")
includeModule(":ghlint-rules")
includeModule(":ghlint-snakeyaml")
includeModule(":ghlint-testing")
includeModule(":test-helpers")
include(":website")
fun includeModule(path: String) {
include(path)
val module = project(path)
module.projectDir = file("modules").resolve(module.projectDir.relativeTo(settings.rootDir))
}