Thanks Nico.
I will let you know the results

Op do 20 jan. 2022 om 10:39 schreef Nico Kruber <n...@apache.org>:

> Hi,
> unfortunately, the gradle example in the docs has grown a bit old [1] and
> I
> haven't gotten around to updating it yet. Nonetheless, we are using an
> updated
> version internally and so far this has been working fine. The latest
> project
> we've been using this at is available at:
> https://github.com/ververica/lab-flink-latency
> It should be rather simple to check this out and adapt to your needs.
>
> I'd love to get some feedback on it so that I can eventually get this into
> the
> Flink docs/quickstarts.
>
>
> Nico
>
>
>
> [1] https://issues.apache.org/jira/browse/FLINK-24478
>
> On Wednesday, 19 January 2022 15:07:39 CET HG wrote:
> > Hi
> > For  my first project I followed :
> >
> https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/dev/datastre
> > am/project-configuration/ where there a build.gradle example
> >
> > I created a directory, entered into it and did gradle init.
> > The I created the build.gradle as per the example.
> >
> > I opened the directory with IntelliJ and opened the build.gradle file
> > When performing the "load changes" I bump into issues.
> >
> > The first issue was a minor one:
> > Build file '/u01/testje/build.gradle' line: 41
> >  A problem occurred evaluating root project 'testje'.
> >
> > > Cannot add task 'wrapper' as a task with that name already exists.
> > > Run with --scan to get full insights.
> >
> > Easy : I had to remove "task" and (type Wrapper).
> >
> > After that I have :
> >
> > Caused by:
> >
> org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMet
> > hodException: *Could not find method compile() for arguments
> > [org.apache.flink:flink-streaming-java_2.11:1.13-SNAPSHOT*] on object of
> > type
> >
> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
> >
> > I tried scala 2.11 and 1.14 SNAPSHOT  but nothing works.
> >
> > When I look at
> >
> https://repository.apache.org/content/repositories/snapshots/org/apache/flin
> > k/flink-streaming-java.. everything is available
> >
> > What am I doing wrong?
> >
> > Regards Hans-Peter
>
>
> --
> Dr. Nico Kruber | Solutions Architect
>
> Follow us @VervericaData Ververica
> --
> Join Flink Forward - The Apache Flink Conference
> Stream Processing | Event Driven | Real Time
> --
> Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany
> --
> Ververica GmbH
> Registered at Amtsgericht Charlottenburg: HRB 158244 B
> Managing Directors: Yip Park Tung Jason, Jinwei (Kevin) Zhang, Karl Anton
> Wehner
>
>
>

Reply via email to