Brice Dutheil
07/08/2026, 5:23 PMPhilip W
07/08/2026, 5:34 PMVampire
07/08/2026, 8:15 PMBrice Dutheil
07/09/2026, 8:09 AMgetProperties is a problem in that case. But really, the issue is more like a few years ago when API was changing so regularly it was difficult to maintain a build. I already spend too much time on the build that would spend on other matters.Brice Dutheil
07/09/2026, 8:10 AMBrice Dutheil
07/09/2026, 8:11 AMVampire
07/09/2026, 8:11 AMBrice Dutheil
07/09/2026, 8:12 AMHe hates it because he worked for them I guess😰
Vampire
07/09/2026, 8:13 AMDelegate properties are going away. What else?Yeah, well, not everyone agrees with every decision, I also think this is a bullshit decision. But then on the other hand you have the same people that complain that they are removed complaining about having multiple ways to do the same thing which is exactly the opposite. 🤷♂️
Brice Dutheil
07/09/2026, 8:57 AMDate for a reason.
I stumbled on this one as well, so not there yet, but who knows for Gradle 10 : github.com/gradle/gradle/issues/38434Vampire
07/09/2026, 9:03 AMThe JDK teamAnd had very slow evolution over very long timespan. Gradle has a clear deprecation strategy that makes sense.
I stumbled on this one as well, so not there yet, but who knows for Gradle 10 :I don't think
Task.getProject will or should be deprecated.
You must not use it at execution time with CC on and that indeed is already deprecated.
But you can use it just fine without CC, or at configuration time like when initializing properties of the task and so on.Brice Dutheil
07/09/2026, 9:05 AMYou must not use it at execution time with CC on and that indeed is already deprecated.That I know. But it can follow the same path as other APIs just to prevent use.
Vampire
07/09/2026, 9:11 AMTask.getProject, you can just @Inject the Project instance and use that just the same, so the deprecation would imho be quite useless. Except of eradicating another case of "two ways to do it"Vampire
07/09/2026, 9:11 AMPhilip W
07/09/2026, 9:47 AM