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 <[email protected]> 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] }
