This message was deleted.
# community-news
s
This message was deleted.
👍 3
m
First issue is the use of
subprojects
block, which has been discouraged for months (if not years)
Second issue is the famous lazy vs eager mistake which everyone makes, including... Gradle experts.
🤦‍♂️ 1
tasks.withType(...) { ... }
is eager, you must use
tasks.withType(...).configureEach { ... }
btw, that would be a good breaking change in 8 to make this lazy by default
9
🙏 1
but if you want a reason why people find Gradle complicated, here you go: copy and paste perfectly fine code from a couple years ago, today it's a bad practice 😄
1
a
Thanks for the information. I appreciate the feedback and why it has issues. The thread has been removed.
g
it looks like you removed only the first tweet, not all the thread
c
and now I can't see the tweet! You should have added the image in here 😛
😂 1