-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.gradle
More file actions
31 lines (20 loc) · 778 Bytes
/
settings.gradle
File metadata and controls
31 lines (20 loc) · 778 Bytes
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
import org.gradle.util.GradleVersion
// Minimum Gradle version for build
def minGradleVersion = GradleVersion.version("2.0")
rootProject.name = 'funpay4j-parent'
if (GradleVersion.current() < minGradleVersion) {
throw new GradleScriptException("funpay4j build requires Gradle ${minGradleVersion.version} or later", null)
}
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_8)) {
throw new GradleScriptException("funpay4j build requires Java 8 or later", null)
}
include 'core'
project(":core").name = 'core'
include 'client'
project(":client").name = 'client'
include 'utils'
project(":utils").name = 'utils'
include 'examples'
project(":examples").name = 'examples'
include 'test-resources'
project(":test-resources").name = 'test-resources'