mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 13:22:42 +01:00
settings.gradle: prevent printing "Gradle Gradle"
This commit is contained in:
parent
a8d4bbc6c7
commit
30761fa02f
@ -9,7 +9,7 @@ import org.gradle.util.GradleVersion
|
||||
def gradleVersion = GradleVersion.version("4.4.1")
|
||||
|
||||
if (GradleVersion.current().compareTo(gradleVersion) != 0) {
|
||||
throw new GradleScriptException("bitcoinj build requires Debian Gradle ${gradleVersion}", null)
|
||||
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
|
||||
|
@ -11,7 +11,7 @@ def minGradleVersion = GradleVersion.version("7.3")
|
||||
rootProject.name = 'bitcoinj-parent'
|
||||
|
||||
if (GradleVersion.current().compareTo(minGradleVersion) < 0) {
|
||||
throw new GradleScriptException("bitcoinj build requires Gradle ${minGradleVersion} or later", null)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user