-
Notifications
You must be signed in to change notification settings - Fork 6
/
settings.gradle
45 lines (39 loc) · 1017 Bytes
/
settings.gradle
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
pluginManagement {
repositories {
mavenCentral()
maven {
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
name = "s01Snapshots"
mavenContent { snapshotsOnly() }
}
gradlePluginPortal()
}
}
plugins {
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
}
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
pluginManagement.repositories.each(repositories.&add)
}
rootProject.name = "indra"
def requiredRuntime = 11
if (JavaVersion.current() < JavaVersion.toVersion(requiredRuntime)) {
throw new GradleException("""\
You are running a Java version that is too old to build Indra.
Required: ${requiredRuntime}
Current: ${JavaVersion.current()}
""".stripIndent())
}
[
"indra-common",
"indra-git",
"indra-publishing-gradle-plugin",
"indra-publishing-sonatype",
"indra-licenser-spotless",
"indra-licenser-cadix",
"indra-testlib",
"indra-crossdoc"
].each {
include(it)
}