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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
@file:Suppress("UnstableApiUsage")
rootProject.name = "dokka"
pluginManagement {
includeBuild("build-logic")
repositories {
gradlePluginPortal()
mavenCentral()
}
}
dependencyResolutionManagement {
// subproject :kotlin-analysis:intellij-dependency requires specific repositories that should not be used in
// the other subprojects, so use PREFER_PROJECT to allow subprojects to override the repositories defined here.
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
mavenCentral()
google()
// Declare the Node.js & Yarn download repositories
// Required by Gradle Node plugin: https://github.com/node-gradle/gradle-node-plugin/blob/3.5.1/docs/faq.md#is-this-plugin-compatible-with-centralized-repositories-declaration
exclusiveContent {
forRepository {
ivy("https://cache-redirector.jetbrains.com/nodejs.org/dist/") {
name = "Node Distributions at $url"
patternLayout { artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]") }
metadataSources { artifact() }
content { includeModule("org.nodejs", "node") }
}
}
filter { includeGroup("org.nodejs") }
}
exclusiveContent {
forRepository {
ivy("https://github.com/yarnpkg/yarn/releases/download") {
name = "Yarn Distributions at $url"
patternLayout { artifact("v[revision]/[artifact](-v[revision]).[ext]") }
metadataSources { artifact() }
content { includeModule("com.yarnpkg", "yarn") }
}
}
filter { includeGroup("com.yarnpkg") }
}
}
}
plugins {
`gradle-enterprise`
}
include(
":core",
":core:test-api",
":core:content-matcher-test-utils",
":kotlin-analysis",
":kotlin-analysis:intellij-dependency",
":kotlin-analysis:compiler-dependency",
":runners:gradle-plugin",
":runners:cli",
":runners:maven-plugin",
":plugins:base",
":plugins:base:frontend",
":plugins:base:search-component",
":plugins:base:base-test-utils",
":plugins:all-modules-page",
":plugins:templating",
":plugins:versioning",
":plugins:android-documentation",
":plugins:mathjax",
":plugins:gfm",
":plugins:gfm:gfm-template-processing",
":plugins:jekyll",
":plugins:jekyll:jekyll-template-processing",
":plugins:kotlin-as-java",
":plugins:javadoc",
":integration-tests",
":integration-tests:gradle",
":integration-tests:cli",
":integration-tests:maven",
":mkdocs",
)
val isCiBuild = System.getenv("GITHUB_ACTIONS") != null || System.getenv("TEAMCITY_VERSION") != null
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCiBuild)
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|