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

nkruber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-training.git

commit 163558d39bc2c15796d180dc5ae8a7943d608679
Author: Nico Kruber <n...@ververica.com>
AuthorDate: Mon Jun 8 14:05:56 2020 +0200

    [FLINK-18178][build] fix Eclipse import not using flinkShadowJar 
dependencies
---
 build.gradle | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/build.gradle b/build.gradle
index 5e54c95..5aae798 100644
--- a/build.gradle
+++ b/build.gradle
@@ -27,6 +27,7 @@ subprojects {
     }
     apply plugin: 'com.github.johnrengelman.shadow'
     apply plugin: 'checkstyle'
+    apply plugin: 'eclipse'
 
     // artifact properties
     group = 'org.apache.flink'
@@ -113,6 +114,12 @@ subprojects {
         javadoc.classpath += configurations.flinkShadowJar
     }
 
+    eclipse {
+        classpath {
+            plusConfigurations += [configurations.flinkShadowJar]
+        }
+    }
+
     if (plugins.findPlugin('application')) {
         applicationDefaultJvmArgs = ["-Dlog4j.configuration=log4j.properties"]
         run.classpath = sourceSets.main.runtimeClasspath

Reply via email to