forked from linkedin/cruise-control
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
29 lines (24 loc) · 949 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
/*
* Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information.
*/
import org.gradle.util.GradleVersion
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'gradle.plugin.net.vivin:gradle-semantic-build-versioning:4.0.0'
}
}
apply plugin: 'net.vivin.gradle-semantic-build-versioning'
//otherwise it defaults to the folder name
rootProject.name = 'cruise-control'
include 'cruise-control', 'cruise-control-metrics-reporter', 'cruise-control-core'
def gradleVer = GradleVersion.current()
def minimumVersion = GradleVersion.version("3.5")
if (gradleVer < minimumVersion) {
throw new GradleScriptException("this build cannot be run with gradle < " + minimumVersion + ". current detection version is "
+ gradleVer + ". use newer gradle or (better yet) use the wrapper", null)
}