bitcoinj/settings.gradle
2024-08-29 17:18:01 +02:00

40 lines
1.1 KiB
Groovy

/*
* Settings file for Gradle 7.3 or later.
* For building with Debian Gradle 4.4, use the settings-debian.gradle settings.
*/
import org.gradle.util.GradleVersion
// Minimum Gradle version for build
def minGradleVersion = GradleVersion.version("7.3")
rootProject.name = 'bitcoinj-parent'
if (GradleVersion.current().compareTo(minGradleVersion) < 0) {
throw new GradleScriptException("bitcoinj build requires Gradle ${minGradleVersion.version} or later", null)
}
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
throw new GradleScriptException("bitcoinj build requires Java 17 or later", null)
}
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'
include 'wallettemplate'
project(':wallettemplate').name = 'bitcoinj-wallettemplate'
include 'integration-test'
project(':integration-test').name = 'bitcoinj-integration-test'
include 'examples-kotlin'
project(':examples-kotlin').name = 'bitcoinj-examples-kotlin'