2024-08-26 13:43:44 +02:00
|
|
|
/*
|
|
|
|
* 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().compareTo(gradleVersion) != 0) {
|
2024-08-29 17:18:01 +02:00
|
|
|
throw new GradleScriptException("bitcoinj build requires Debian Gradle ${gradleVersion.version}", null)
|
2024-08-26 13:43:44 +02:00
|
|
|
}
|
|
|
|
|
2024-08-23 17:44:37 +02:00
|
|
|
// we can't test for Java 17 in Gradle 4.4, so at least we test for Java 11
|
2024-08-26 13:43:44 +02:00
|
|
|
if (!JavaVersion.current().isJava11Compatible()) {
|
2024-08-23 17:44:37 +02:00
|
|
|
throw new GradleScriptException("bitcoinj build requires Java 17 or later", null)
|
2024-08-26 13:43:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.name = 'bitcoinj-parent'
|
|
|
|
|
2024-09-01 19:19:44 +02:00
|
|
|
include 'test-support'
|
|
|
|
project(':test-support').name = 'bitcoinj-test-support'
|
|
|
|
|
2024-09-01 21:08:57 +02:00
|
|
|
include 'base'
|
|
|
|
project(':base').name = 'bitcoinj-base'
|
|
|
|
|
2024-08-26 13:43:44 +02:00
|
|
|
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'
|