You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by nk...@apache.org on 2020/06/08 12:52:59 UTC

[flink-training] branch master updated (22420e1 -> 163558d)

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

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


    from 22420e1  [hotfix] use correct main class references
     new b7fecd4  [hotfix][training] git-ignore eclipse build files
     new 163558d  [FLINK-18178][build] fix Eclipse import not using flinkShadowJar dependencies

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore   | 10 ++++++++--
 build.gradle |  7 +++++++
 2 files changed, 15 insertions(+), 2 deletions(-)


[flink-training] 02/02: [FLINK-18178][build] fix Eclipse import not using flinkShadowJar dependencies

Posted by nk...@apache.org.
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 <ni...@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


[flink-training] 01/02: [hotfix][training] git-ignore eclipse build files

Posted by nk...@apache.org.
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 b7fecd43861cbb7ef15c55f5887cc121f4b18acc
Author: Nico Kruber <ni...@ververica.com>
AuthorDate: Mon Jun 8 12:33:37 2020 +0200

    [hotfix][training] git-ignore eclipse build files
---
 .gitignore | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index ba34970..d47fbf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,9 +10,15 @@
 # Debugger
 .attach_*
 
+# Eclipse
+.project
+.settings
+.classpath
+bin/
+
 # Gradle build process files
-**/.gradle/**/*
-**/build/**/*
+/.gradle/
+build/
 **/.gradletasknamecache
 
 # IntelliJ