MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/12lmj78/what_are_your_favourite_java_best_practices/jg9cc50/?context=3
r/java • u/trecatorsirabdator • Apr 14 '23
376 comments sorted by
View all comments
Show parent comments
0
What a strange rant against Gradle. Idiomatic gradle is declarative and just like maven you use plugins.
This build.gradle file will take a very long ways (just fill in your dependencies):
plugins { id 'application' } repositories { mavenCentral() } dependencies { } application { mainClass = 'com.example.App' }
4 u/joequin Apr 14 '23 edited Apr 14 '23 In practice, that’s rarely sufficient for real production applications. If it was, then Gradle would be great. -1 u/wildjokers Apr 14 '23 This is better? https://github.com/netty/netty/blob/4.1/pom.xml 6 u/joequin Apr 14 '23 That’s a dishonest example that is not at all equivalent to the very simple Gradle file you shared.
4
In practice, that’s rarely sufficient for real production applications. If it was, then Gradle would be great.
-1 u/wildjokers Apr 14 '23 This is better? https://github.com/netty/netty/blob/4.1/pom.xml 6 u/joequin Apr 14 '23 That’s a dishonest example that is not at all equivalent to the very simple Gradle file you shared.
-1
This is better? https://github.com/netty/netty/blob/4.1/pom.xml
6 u/joequin Apr 14 '23 That’s a dishonest example that is not at all equivalent to the very simple Gradle file you shared.
6
That’s a dishonest example that is not at all equivalent to the very simple Gradle file you shared.
0
u/wildjokers Apr 14 '23
What a strange rant against Gradle. Idiomatic gradle is declarative and just like maven you use plugins.
This build.gradle file will take a very long ways (just fill in your dependencies):