David Anderson created FLINK-24478: -------------------------------------- Summary: gradle quickstart is out-of-date Key: FLINK-24478 URL: https://issues.apache.org/jira/browse/FLINK-24478 Project: Flink Issue Type: Improvement Affects Versions: 1.14.0 Reporter: David Anderson Assignee: Nico Kruber
The gradle quickstart, as described in the docs, and produced by {{bash -c "$(curl [https://flink.apache.org/q/gradle-quickstart.sh])" – 1.14.0 _2.11}} is out of date, and it has some obvious errors. E.g., it defines scalaBinaryVersion as '_2.11', and then has {{flinkShadowJar "org.apache.flink:flink-connector-kafka-0.11_${scalaBinaryVersion}:${flinkVersion}"}} which is both ancient and includes the _ again. (I realize now that the extra _ actually comes from the bash command I copied from the docs, so the docs need to be fixed as well.) The quickstart also doesn't produce a gradlew script, and if I try {{gradle build}} I get this output: {{$ gradle build Starting a Gradle Daemon (subsequent builds will be faster) FAILURE: Build failed with an exception. * Where: Build file '/Users/david/stuff/quickstart/build.gradle' line: 41 * What went wrong: A problem occurred evaluating root project 'quickstart'. > Cannot add task 'wrapper' as a task with that name already exists}} -- This message was sent by Atlassian Jira (v8.3.4#803005)