forked from bitcoinj/bitcoinj
-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings-debian.gradle
38 lines (27 loc) · 1.02 KB
/
settings-debian.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
/*
* Setting file only for Debian Gradle 4.4.1.
* Usage: gradle --settings-file=settings-debian.gradle build
*/
import org.gradle.util.GradleVersion
// required Gradle version for build
def gradleVersion = GradleVersion.version("4.4.1")
if (GradleVersion.current() != gradleVersion) {
throw new GradleScriptException("bitcoinj build requires Debian Gradle ${gradleVersion.version}", null)
}
// we can't test for Java 17 in Gradle 4.4, so at least we test for Java 11
if (!JavaVersion.current().isJava11Compatible()) {
throw new GradleScriptException("bitcoinj build requires Java 17 or later", null)
}
rootProject.name = 'bitcoinj-parent'
include 'test-support'
project(':test-support').name = 'bitcoinj-test-support'
include 'base'
project(':base').name = 'bitcoinj-base'
include 'core'
project(':core').name = 'bitcoinj-core'
include 'tools'
project(':tools').name = 'bitcoinj-tools'
include 'wallettool'
project(':wallettool').name = 'bitcoinj-wallettool'
include 'examples'
project(':examples').name = 'bitcoinj-examples'