Re: Gradle Task Configuration Avoidance

2022-12-09 Thread Luke Cwik via dev
I'm talking about the build scans that take you to gradle.com For example in one of our Jenkins job there is this build scan . You can also get these for builds that you do locally. On

Re: Gradle Task Configuration Avoidance

2022-12-09 Thread Damon Douglas via dev
Thank you, Luke and Daniel, I wasn't aware that these tools were possible. Luke, the build report to which you refer is a local HTML file produced after executing a task? I see it when I fail tests or various checks. Best, Damon On Thu, Dec 8, 2022 at 8:59 AM Daniel Collins wrote: > We

Re: Gradle Task Configuration Avoidance

2022-12-08 Thread Daniel Collins via dev
We could probably add a lint that rejects the spelling `task("` pretty easily that would catch most of these. On Thu, Dec 8, 2022 at 11:34 AM Luke Cwik via dev wrote: > I have found the Gradle build reports very useful to enumerate > deprecations and an easier thing to look at over the command

Re: Gradle Task Configuration Avoidance

2022-12-08 Thread Luke Cwik via dev
I have found the Gradle build reports very useful to enumerate deprecations and an easier thing to look at over the command line output. On Thu, Dec 8, 2022 at 8:26 AM Damon Douglas via dev wrote: > Thank you, Kerry, for your kind and encouraging words! > > Kenn, I wondered as well whether

Re: Gradle Task Configuration Avoidance

2022-12-08 Thread Damon Douglas via dev
Thank you, Kerry, for your kind and encouraging words! Kenn, I wondered as well whether there exist proactive options. I know that gradle will warn of soon-to-be deprecated syntax in the build.gradle files when executing gradle tasks on the command-line. Perhaps we can start there. Not to

Re: Gradle Task Configuration Avoidance

2022-12-05 Thread Kenneth Knowles
Nice! I believe at some point in the past we made a pass to try to convert our stuff to this model. I wonder if we can prevent it proactively somehow, like disabling the legacy way of creating tasks or something. Kenn On Mon, Dec 5, 2022 at 6:25 AM Kerry Donny-Clark via dev <

Re: Gradle Task Configuration Avoidance

2022-12-05 Thread Kerry Donny-Clark via dev
Thanks Damon! I really appreciate how clear your emails are here. Instead of my usual feeling of "I don't quite understand, and don't have time to get context" I can read all the context in the mail. This error message had confused me, so I really appreciate the cleanup and explanation. On Fri,

Gradle Task Configuration Avoidance

2022-12-02 Thread Damon Douglas via dev
Hello Everyone, *If you are new to Beam and coming from non-Java language conventions, it is likely you are new to gradle. At the end of this email is a list of definitions and references to help understand this email.* *Short Version (For those who know gradle)*: A pull request [1] may fix the