Hi Max,
I experienced the same, I had first opened a general ticket 
(https://issues.apache.org/jira/browse/BEAM-4418) about
gradle improvements and I just split it in several tickets. Here is the one 
concerning the same issue: https://issue
id="-x-evo-selection-start-marker">s.apache.org/jira/browse/BEAM-5176
Etienne
Le lundi 20 août 2018 à 15:51 +0200, Maximilian Michels a écrit :
> Hi Beamers,
> It's great to see the Beam build system overhauled. Thank you for allthe hard 
> work.
> That said, I've just started contributing to Beam again and I feelreally 
> stupid for not having a fully-functional IDE.
> I've closelyfollowed the IntelliJ/Gradle instructions [1]. In the 
> terminaleverything works fine.
> First of all, I get warnings like the following and the build fails:
> ====.../beam/sdks/java/core/src/main/java/org/apache/beam/sdk/package-info.java:29:warning:
>  [deprecation] NonNull in
> edu.umd.cs.findbugs.annotations hasbeen 
> deprecated@DefaultAnnotation(NonNull.class)                   ^error: warnings
> found and -Werror specified1 error89 warnings=====
> Somehow the "-Xlint:-deprecation" compiler flag does not get through 
> but"-Werror" does. I can get it to compile by
> removing the "-Werror" flagfrom BeamModulePlugin but that's obviously not the 
> solution.
> Further, once the build succeeds I still have to add the relocatedProtobuf 
> library manually because the one in
> "vendor" does not getpicked up. I've tried clearing caches / re-adding the 
> project /upgrading IntelliJ / changing
> Gradle configs.
> 
> Is this just me or do you also have similar problems? If so, I wouldlike to 
> compile a list of possible fixes to help
> other contributors.
> 
> Thanks,Max
> 
> Tested with- IntelliJ 2018.1.6 and 2018.2.1.- MacOS- java version "1.8.0_112"
> [1] https://beam.apache.org/contribute/intellij/
> 

Reply via email to