You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by xi...@apache.org on 2022/07/27 19:17:28 UTC

[incubator-eventmesh] 01/02: Add sourceCompatibility field to build.gradle

This is an automated email from the ASF dual-hosted git repository.

xiaoyang pushed a commit to branch dashboard-configuration
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git

commit 4e7f712c567680167dc0d3c9ebd3ab437724c6c7
Author: Xiaoyang Liu <si...@gmail.com>
AuthorDate: Tue Jul 26 22:58:47 2022 -0700

    Add sourceCompatibility field to build.gradle
    
    Signed-off-by: Xiaoyang Liu <si...@gmail.com>
---
 build.gradle | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 30c57725..9df6c0e4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -62,6 +62,11 @@ allprojects {
 
     compileJava.options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
 
+    java {
+        sourceCompatibility = "1.8"
+        targetCompatibility = "1.8"
+    }
+
     clean.doFirst {
         delete 'build'
         delete 'dist'
@@ -423,7 +428,7 @@ subprojects {
 
 
             dependency "com.google.guava:guava:31.0.1-jre"
-            
+
             dependency "org.slf4j:slf4j-api:1.7.30"
             dependency "org.apache.logging.log4j:log4j-api:2.17.1"
             dependency "org.apache.logging.log4j:log4j-core:2.17.1"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org