2024-08-27 09:35:47 +02:00
|
|
|
/*
|
|
|
|
* Settings file for Gradle 7.3 or later.
|
|
|
|
* For building with Debian Gradle 4.4, use the settings-debian.gradle settings.
|
|
|
|
*/
|
|
|
|
|
2019-02-23 19:49:00 +01:00
|
|
|
import org.gradle.util.GradleVersion
|
2019-04-09 02:58:23 +02:00
|
|
|
|
2021-09-08 21:46:47 +02:00
|
|
|
// Minimum Gradle version for build
|
2024-08-27 09:35:47 +02:00
|
|
|
def minGradleVersion = GradleVersion.version("7.3")
|
2019-02-23 19:49:00 +01:00
|
|
|
|
2019-03-07 17:31:54 +01:00
|
|
|
rootProject.name = 'bitcoinj-parent'
|
|
|
|
|
2019-04-09 02:58:23 +02:00
|
|
|
if (GradleVersion.current().compareTo(minGradleVersion) < 0) {
|
2024-08-29 17:18:01 +02:00
|
|
|
throw new GradleScriptException("bitcoinj build requires Gradle ${minGradleVersion.version} or later", null)
|
2019-04-09 02:58:23 +02:00
|
|
|
}
|
2024-08-23 17:44:37 +02:00
|
|
|
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
|
|
|
|
throw new GradleScriptException("bitcoinj build requires Java 17 or later", null)
|
2021-09-08 21:46:47 +02:00
|
|
|
}
|
|
|
|
|
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'
|
|
|
|
|
2018-03-06 21:13:17 +01:00
|
|
|
include 'core'
|
2019-03-07 17:31:54 +01:00
|
|
|
project(':core').name = 'bitcoinj-core'
|
|
|
|
|
2018-03-06 21:13:17 +01:00
|
|
|
include 'tools'
|
2019-03-07 17:31:54 +01:00
|
|
|
project(':tools').name = 'bitcoinj-tools'
|
|
|
|
|
2022-01-04 05:36:12 +01:00
|
|
|
include 'wallettool'
|
|
|
|
project(':wallettool').name = 'bitcoinj-wallettool'
|
|
|
|
|
2018-03-06 21:13:17 +01:00
|
|
|
include 'examples'
|
2019-03-07 17:31:54 +01:00
|
|
|
project(':examples').name = 'bitcoinj-examples'
|
2019-02-23 19:49:00 +01:00
|
|
|
|
2024-08-23 17:44:37 +02:00
|
|
|
include 'wallettemplate'
|
|
|
|
project(':wallettemplate').name = 'bitcoinj-wallettemplate'
|
2021-09-08 21:46:47 +02:00
|
|
|
|
2024-08-27 09:35:47 +02:00
|
|
|
include 'integration-test'
|
|
|
|
project(':integration-test').name = 'bitcoinj-integration-test'
|
2024-04-18 18:54:35 +02:00
|
|
|
|
2024-08-27 09:35:47 +02:00
|
|
|
include 'examples-kotlin'
|
|
|
|
project(':examples-kotlin').name = 'bitcoinj-examples-kotlin'
|