gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: java version warning


From: gnunet
Subject: [libeufin] branch master updated: java version warning
Date: Thu, 07 Jan 2021 11:42:21 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new d11393e  java version warning
d11393e is described below

commit d11393e8a124b52984e6232643c73fa34b0355c5
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jan 7 11:42:17 2021 +0100

    java version warning
---
 build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build.gradle b/build.gradle
index 1936e2b..b5de80a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,6 +3,12 @@ plugins {
     id 'idea'
 }
 
+if (!JavaVersion.current().isJava11Compatible()){
+    throw new GradleException(
+        "This build must be run with java 11 " +
+        "or later (your version is java ${JavaVersion.current()})")
+}
+
 allprojects {
     repositories {
         mavenCentral()

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]