forked from bitcoinj/bitcoinj
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
settings-debian.gradle: separate out settings for builds on Debian Gr…
…adle 4.4 This is meant to prepare for improvements to the regular `settings.gradle` file.
- Loading branch information
1 parent
a2642d8
commit 8873915
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* 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) { | ||
throw new GradleScriptException("bitcoinj build requires Debian Gradle ${gradleVersion}", null) | ||
} | ||
|
||
if (!JavaVersion.current().isJava11Compatible()) { | ||
throw new GradleScriptException("bitcoinj build requires Java 11 or later", null) | ||
} | ||
|
||
rootProject.name = 'bitcoinj-parent' | ||
|
||
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' |