You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/04/06 14:47:26 UTC

[flink] branch revert-18609-FLINK-25987 created (now 070353ab5ef)

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

martijnvisser pushed a change to branch revert-18609-FLINK-25987
in repository https://gitbox.apache.org/repos/asf/flink.git


      at 070353ab5ef Revert "[FLINK-25897][docs] Update gradle quickstart quide to gradle 7.3.3"

This branch includes the following new commits:

     new 1f44c44d6de Revert "address comments"
     new 070353ab5ef Revert "[FLINK-25897][docs] Update gradle quickstart quide to gradle 7.3.3"

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.



[flink] 02/02: Revert "[FLINK-25897][docs] Update gradle quickstart quide to gradle 7.3.3"

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch revert-18609-FLINK-25987
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 070353ab5ef6f691a0d610e7d12071578a0c96d6
Author: MartijnVisser <ma...@2symbols.com>
AuthorDate: Wed Apr 6 16:47:20 2022 +0200

    Revert "[FLINK-25897][docs] Update gradle quickstart quide to gradle 7.3.3"
    
    This reverts commit 9b2d03a2a4e075d9e307644af36bbd888be7f4ed.
---
 docs/content/docs/dev/configuration/overview.md | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/docs/content/docs/dev/configuration/overview.md b/docs/content/docs/dev/configuration/overview.md
index 95af942e1ae..4ba7f83c36e 100644
--- a/docs/content/docs/dev/configuration/overview.md
+++ b/docs/content/docs/dev/configuration/overview.md
@@ -94,31 +94,25 @@ plugins {
 // artifact properties
 group = 'org.quickstart'
 version = '0.1-SNAPSHOT'
-mainClassName = 'org.quickstart.DataStreamJob'
+mainClassName = 'org.quickstart.StreamingJob'
+mainClassName = 'org.quickstart.StreamingJob'
 description = """Flink Quickstart Job"""
 ext {
     javaVersion = '1.8'
     flinkVersion = '{{< version >}}'
-    scalaBinaryVersion = '{{< scala_version >}}'
     slf4jVersion = '1.7.32'
     log4jVersion = '2.17.1'
 }
 sourceCompatibility = javaVersion
 targetCompatibility = javaVersion
 tasks.withType(JavaCompile) {
-    options.encoding = 'UTF-8'
+	options.encoding = 'UTF-8'
 }
 applicationDefaultJvmArgs = ["-Dlog4j.configurationFile=log4j2.properties"]
 
 // declare where to find the dependencies of your project
 repositories {
     mavenCentral()
-    maven {
-        url "https://repository.apache.org/content/repositories/snapshots"
-        mavenContent {
-            snapshotsOnly()
-        }
-    }
 }
 // NOTE: We cannot use "compileOnly" or "shadow" configurations since then we could not run code
 // in the IDE or with "gradle run". We also cannot exclude transitive dependencies from the
@@ -145,9 +139,10 @@ dependencies {
     // connectors. These must be in the flinkShadowJar configuration!
     // --------------------------------------------------------------
     //flinkShadowJar "org.apache.flink:flink-connector-kafka:${flinkVersion}"
-    runtimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:${log4jVersion}"
     runtimeOnly "org.apache.logging.log4j:log4j-api:${log4jVersion}"
     runtimeOnly "org.apache.logging.log4j:log4j-core:${log4jVersion}"
+    runtimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:${log4jVersion}"
+    runtimeOnly "org.slf4j:slf4j-log4j12:${slf4jVersion}"
     // Add test dependencies here.
     // testCompile "junit:junit:4.12"
 }
@@ -161,13 +156,6 @@ sourceSets {
 }
 run.classpath = sourceSets.main.runtimeClasspath
 
-jar {
-    manifest {
-        attributes 'Built-By': System.getProperty('user.name'),
-                'Build-Jdk': System.getProperty('java.version')
-    }
-}
-
 shadowJar {
     configurations = [project.configurations.flinkShadowJar]
 }


[flink] 01/02: Revert "address comments"

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch revert-18609-FLINK-25987
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 1f44c44d6de66437a1340d8ee0ff1aeb776ddb91
Author: MartijnVisser <ma...@2symbols.com>
AuthorDate: Wed Apr 6 16:47:20 2022 +0200

    Revert "address comments"
    
    This reverts commit 986820632ed9d7b14d50c471c9734f5fcb36cd41.
---
 docs/content/docs/dev/configuration/overview.md | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/docs/content/docs/dev/configuration/overview.md b/docs/content/docs/dev/configuration/overview.md
index 0ac9dbadf3c..95af942e1ae 100644
--- a/docs/content/docs/dev/configuration/overview.md
+++ b/docs/content/docs/dev/configuration/overview.md
@@ -76,10 +76,7 @@ $ curl https://flink.apache.org/q/quickstart.sh | bash -s {{< version >}}
 
 {{< /tab >}}
 {{< tab "Gradle" >}}
-You can create an empty project, where you are required to create the `src/main/java` and 
-`src/main/resources` directories manually and start writing some class(es) in that, with the use 
-of the following Gradle build script or instead use the provided quickstart bash script to get a
-completely functional startup project. 
+You can create a project with a Gradle build script or use the provided quickstart bash script.
 
 ### Gradle build script