-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
19 lines (18 loc) · 1 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
* A convenience task to assemble all of the included projects. This is useful as a quick smoke test of the Gradle config
* and a general environmental test.
*/
tasks.register("assembleAll") {
dependsOn(gradle.includedBuild("caching").task(":assemble"))
dependsOn(gradle.includedBuild("scheduling").task(":assemble"))
dependsOn(gradle.includedBuild("config").task(":assemble"))
dependsOn(gradle.includedBuild("bootless").task(":assemble"))
}
// Oddly, when I try to download the sources for some dependency, I get a Gradle error saying "no repositories defined".
// This shouldn't happen because of course repositories are defined in each of the subprojects, but I think there was a
// regression in later versions of Intellij because Intellij is using the root project to download the sources, but it
// really should be using the subproject. I mean you could make a case for either behavior. So, I need to define `mavenCentral`
// as a repository in the root project.
repositories {
mavenCentral()
}