Gradle tutorial for complete beginners

Поделиться
HTML-код
  • Опубликовано: 25 июл 2024
  • Have you heard of Gradle, but you’re not really sure what it is, why you should use it, and how to get started? This beginner's tutorial answers all of these questions and helps you take your first steps with this powerful build tool.
    🚀 FREE QUICK-START GRADLE GUIDE tomgregory.com/gradlequickstart
    🔥 ULTIMATE GRADLE BUILD BIBLE tomgregory.com/gradlebuildbible
    Introduction 0:00
    1. Who this tutorial is for? 0:40
    2. Why do we need build tools? 0:59
    3. The Gradle build tool solution 4:19
    4. Maven vs. Gradle 6:20
    5. Installing Gradle 7:34
    6. Creating a project with gradle init 9:07
    7. Gradle project files 10:41
    8. Using the Gradle wrapper 12:50
    9. Projects, build scripts, tasks, & plugins 13:34
    10. Groovy essentials 15:37
    11. Building a Java application 17:05
    12. Configuring tasks 19:53
    13. Testing 21:07
    14. Adding dependencies and repositories 22:08
    15. Summary 23:35
    16. Next steps 24:09
    VIDEO RESOURCES
    ☕ Java install adoptopenjdk.net/installation...
    🐘 Gradle install gradle.org/install/
    👨‍💻 GitHub repo github.com/tkgregory/gradle-t...
    📖 This video in article format tomgregory.com/gradle/gradle-...
  • НаукаНаука

Комментарии • 245

  • @harisahmad7871
    @harisahmad7871 Год назад +43

    i just want to take a moment to appreciate how every sentence had a purpose and not a second was wasted

    • @satyagyaparashar2575
      @satyagyaparashar2575 2 месяца назад +1

      Literally 19 seconds in: "I let the cat out of the bag already"

  • @diegoochoa572
    @diegoochoa572 2 года назад +11

    Bro, you are a saint. I always marvel at the folks that produce high quality tutorials for free, especially when compared to some of the lackluster professors in paid academia.
    Thank you so much for this!

  • @kevin-zo4sg
    @kevin-zo4sg 2 месяца назад +4

    The BEST gradle course ever! Thanks!!

  • @charlesrodriguez6276
    @charlesrodriguez6276 2 года назад +6

    Definitely keep making these videos. I enjoyed the step by step process of video and how you structured the content. It demystified a lot of files in the gradle directory and the concepts around the tool itself. Excellent work!

  • @jonnyevans7652
    @jonnyevans7652 Год назад +28

    Wow, this tutorial I feel like is the type of tutorial I've been looking for, for years now the way you present the content and talk about it is easy and clear to understand and not too advanced. I recently graduated with my BS in computer science and for the courses that Java was the focus of we always used Maven. Recently I got a dev job and we're using Gradle since day one now things are much clear on the switch and give me more direction on how to articulate questions I have as well as what to search for in the future. Thank you, gained a subscriber!

  • @russellsmith4549
    @russellsmith4549 10 дней назад +1

    Thank you for your time putting this together. Great content. 👍

  • @Miketar2424
    @Miketar2424 2 года назад +6

    I really like the concise nature of this tutorial. It really skips so much of the filler I found in other courses and documents. Thanks for doing this.

  • @binyi1114
    @binyi1114 Год назад +2

    Hi Tom, thank you so much for your works. I not only finished watching and creating my first gradle project from this video, but also just finished your entry level cource. Keep going and cheers

  • @ultimatewarriorfrieza275
    @ultimatewarriorfrieza275 2 года назад +60

    English isn't my native tounge but recently I watched the udacity gradle course also here on RUclips, I had a hard time learning anything. This 24 minutes made a whole lot of sense to me. I'll be following your channel for a lot more. Thanks!

  • @kristac.1470
    @kristac.1470 6 месяцев назад +1

    This is exactly what I needed! I've used Gradle before but with an interview coming up I wanted to really understand the tool. Your examples were perfect and I feel a lot more confident going into this interview, thank you!

  • @vighnesh153
    @vighnesh153 Год назад +2

    This is gold. I have worked on JS/TS for over 2 years and assumed that no documentations/tutorials are going to be as simple as JS/TS tutorials. I thought Java stuff (especially build tools) are very complex to follow and understand (hated all the ugly documentations, articles and blog posts). You changed my mind. Anything can be made simple, if done by the right person. Thanks for this amazing introduction.

  • @ApocalypsoTron
    @ApocalypsoTron Год назад +1

    Thanks for the clear explanation and for mentioning that the build file actually consists of methods and closures. It makes the process so much easier to understand.

  • @mailsiraj
    @mailsiraj Год назад

    Wow Tom - what a tutorial. Your approach was confident, very concise, and clear step-by-step, not assuming any prerequisite knowledge and explaining every jargon without getting too diverted, wonderful visuals and an excellent detailed blog post for people like me who like to read - though I have seen so many positive reviews, I still felt the need to thank you for this wonderful tutorial. Being a RUclips creator myself, I am inspired by you for the comprehensive yet brief and accessible resource, delivered with such poise and calmness. May God bless you Tom.

  • @cschmitz
    @cschmitz 2 года назад +6

    Well done. Thanks for taking the time to make this tutorial. This demystified a lot of stuff surrounding gradle for me. Super helpful!

    • @TomGregoryTech
      @TomGregoryTech  2 года назад +1

      That's great cshchmitz. Glad it helped!

  • @brendo8421
    @brendo8421 2 года назад +1

    This is one of the best tutorial videos I've seen in my life. You're the greatest, keep up the good work. 😁

  • @PrashantSingh-ps5go
    @PrashantSingh-ps5go 2 года назад +3

    Thanks for keeping it simple and showing the small details which other people(including me :)) generally ignore !

  • @vbarr67
    @vbarr67 Год назад +2

    I read the gradle documentation but was still confused. I found your video which is absolutely perfect and easy to follow. Thank you so much, everything is crystal clear now ! Greetings from France

  • @amchourasia
    @amchourasia Год назад

    Wow, exactly what I was looking for, very crisp and clearly explained each of the basics. Thanks a lot

  • @joellavinder5387
    @joellavinder5387 2 года назад

    This has helped me more than you can know. I have referenced this video countless times this semester. Thank you!

  • @NERDfirst
    @NERDfirst 2 года назад +5

    Thank you, this was incredibly clear! You really nailed the balance between the theoretical "why" and the hands-on, kudos!

    • @TomGregoryTech
      @TomGregoryTech  2 года назад

      Awesome. Glad it hit the target for you!

  • @bl-ej9dh
    @bl-ej9dh 8 месяцев назад

    BY FAR, the best tutorial about Gradle out there. Congratulations and thank you!

  • @koutsioj4762
    @koutsioj4762 Год назад +1

    Thank you man, I was very confused about how gradle works and what it does because it's the first time I'm using a build tool and you made it all clear to me!

  • @pliegosevilla
    @pliegosevilla 2 года назад +2

    I love your videos. So calm and clear. Really helpful. Thanks

  • @namankeshari7332
    @namankeshari7332 11 месяцев назад +1

    Your videos are so fun to watch!! And make things seem so easy although its really not. Thank you so much for this thorough explanation! You made my day!

  • @coder_foo
    @coder_foo 8 месяцев назад

    This is a masterful tutorial. RUclipsrs teaching anything should take note. It's simple but (high-level) comprehensive and anticipates the major questions a Gradle newbie would have. "You should be able to run the jar file now right? Let's try it... well, not quite - and here's why, and here's how to fix it..." while introducing another important build config concept. And while we're at it, let's subtly switch over to the online documentation for the feature we're about to explain so you can glean that too. And the precision... not just "let's write this code", it's precise: this is a method, passing a closure, next we call 'x' method and pass a map... reinforcing the Groovy basics. So well done!

  • @radekcrlik5060
    @radekcrlik5060 Год назад +2

    Dude, you made it so simple and explained it nicely that I am almost looking forward going to work and work with Gradle :D Thanks good luck with the courses.

  • @selvakumarjayabal2599
    @selvakumarjayabal2599 2 года назад +3

    Thank you so much for detailed explanation!! It's great that you are posting such invaluable tutorials for free!!!

  • @alvinecher6887
    @alvinecher6887 2 года назад +1

    This has really given me a good idea of the purpose of Gradle and improved my knowledge of use, thanks!

  • @bolbans
    @bolbans 2 года назад +1

    That was awesome. You covered all essential parts in simple and comprehensible way! Now I have motivation to push forward!

  • @rahulmodey1315
    @rahulmodey1315 4 месяца назад +1

    Amazing tutorial Tom! I'm much more clear with the concepts now after watching your explanations.

  • @ganeshkumarsiva176
    @ganeshkumarsiva176 2 года назад +1

    You are awesome sir. Keep up the fantastic series on Gradle. The best channel to learn Gradle

  • @seid44
    @seid44 4 месяца назад

    one of the best IT related tutorials ive ever watched, good job man

  • @vivekm2674
    @vivekm2674 Год назад +1

    I have had a paid subscription for pluralsight for over 10 years. Off lately I have started finding free youtube tutorials way better than paid pluralsight courses. Good job Tom!

  • @jssethi
    @jssethi Год назад

    I woke up this morning, thinking and wishing that today I will try understand concepts around gradle (its purpose, how it functions, how to use it), and the Almighty gifted me this wonderful tutorial. I cannot thank you enough !

  • @_vikrant
    @_vikrant 2 года назад +3

    This is awesome! Much appreciated.
    Thanks Tom for making this quick and informative video. I come from maven background and this video is really helpful for my next Gradle based assignment.
    Would recommend my friends to have a look at this video.

  • @wfwf7645
    @wfwf7645 2 месяца назад +1

    Thank you so much for this great tutorial. I really liked the way how you speak slow and clear, and always getting back to the basics before getting ahead too much. Before watching this tutorial, Gradle was quite confusing. After watching this video, I have a good understanding of the basic concepts. Thanks a bunch!

  • @lancebyrd6871
    @lancebyrd6871 Год назад

    This was a huge help. Note to others, watch out for your own typos. I was able to follow along using Ubuntu 22.04 with no issues. Thank you!

  • @Armando_Lara
    @Armando_Lara 2 года назад +1

    Thank you a lot!! Quick and very introductory!

  • @progtom7585
    @progtom7585 2 года назад

    Really great tutorial! Thanks heaps! The content was just spot on for a beginner.

  • @wendylee5498
    @wendylee5498 2 года назад +5

    Thank you so much for this concise gradle tutorial which covers the basic/ core concepts!!!! I am now from a complete beginner (no knowledge on gradle at att) to can explain to my colleagues about how gradle works.Thanks!

    • @TomGregoryTech
      @TomGregoryTech  2 года назад

      So glad it helped Wendy. Thanks for the reviews.

  • @gameprogramming6550
    @gameprogramming6550 29 дней назад

    Thank you very much for these series.

  • @jorgemercadog
    @jorgemercadog Год назад

    most compelling and express tutorial ever!! Thank you!

  • @vladimirsuslov4134
    @vladimirsuslov4134 2 месяца назад +1

    God bless the people who have gift of teaching. Thank you

  • @stevevans100
    @stevevans100 2 месяца назад

    exactly what I was looking for - thank you!

  • @melwin-dmello-dev
    @melwin-dmello-dev Год назад +1

    Very concise, very helpful. Thank you!

  • @voiceguy554
    @voiceguy554 2 года назад +1

    Thanks for the informative tutorial!

  • @tizhoush
    @tizhoush 4 месяца назад +1

    It really did worth the time. I was so lucky to come across your tutorial 👍

  • @tonigarridopersonal4071
    @tonigarridopersonal4071 Год назад

    Very nice tutorial, thanks!

  • @katierobinson5464
    @katierobinson5464 2 года назад

    Fabulous video. Thanks!

  • @enriconolastname3471
    @enriconolastname3471 6 месяцев назад

    Tom, thanks! This and the other Gradle tutorials you made helped me understand Gradle very smoothly. Great job!

  • @fernandohillermann7824
    @fernandohillermann7824 Год назад

    wow! Great job, very well explained!

  • @seherkhan1951
    @seherkhan1951 Год назад

    Thank you so much! Awesome tutorial

  • @CasioArtist
    @CasioArtist Год назад

    Thank You for this Video. I was an absolute beginner for gradle and learned a lot

  • @adeoke3086
    @adeoke3086 2 года назад +1

    You have a great thought process. Nice video.

  • @stephenlimb6141
    @stephenlimb6141 2 года назад

    Nice, clear and well articulated.

  • @vibhad-cv4sf
    @vibhad-cv4sf 5 месяцев назад

    Loved it!!🎉

  • @no1sploit529
    @no1sploit529 2 года назад +1

    It helped me a lot. Thanks for this awesome content .

  • @michaelhashimoto1650
    @michaelhashimoto1650 2 года назад +1

    This is so good. Thank you!

  • @christopherbarrett9900
    @christopherbarrett9900 Год назад

    Great vid! Concise and well explained.

  • @FaresTabet
    @FaresTabet 2 года назад

    Great tutorial, thanks for putting this up

  • @DivijShrivastava
    @DivijShrivastava Год назад

    Thank you for this tutorial!

  • @prithikas6810
    @prithikas6810 9 месяцев назад

    Thank you so much. such a clear explanation!

  • @fec725
    @fec725 2 года назад +1

    Thank you for this amazing tutorial

  • @tcastock4484
    @tcastock4484 2 года назад +1

    Thank you very much, a nicely structured video

  • @sandeepchauhan7918
    @sandeepchauhan7918 Год назад

    It helped me to understand more about gradle. Very useful, Thank you.

  • @shashiranjan7451
    @shashiranjan7451 11 месяцев назад +1

    One of the best tutorials. Thank you very much sir for making this video.

  • @AnantaAkash.Podder
    @AnantaAkash.Podder 11 месяцев назад +1

    Absolutely Banger... your Explanations are Out of this World❤️❤️

  • @vikramragunathan6392
    @vikramragunathan6392 Год назад

    Much appreciated for the precise explanation. 😀👍

  • @arnabmukherjee5840
    @arnabmukherjee5840 Год назад

    amazing, thanks for the tutorial.

  • @egidfertal8240
    @egidfertal8240 5 месяцев назад

    Thank you very much :) for nice tutorial you made.

  • @rexjuggler19
    @rexjuggler19 3 месяца назад

    I just subscribed. This is just what I needed and was looking for. It's concise, clear, has explanation and hands-on. This is what a tutorial should be. My goal is to learn Java, but I wanted to include using a build environment along with it rather than using javac. My desired path and platform based on research is to use vs-code for my IDE, Gradle as the build tool, and develop using Quarkus framework. This gets me off to a good start. I think with this as my baseline starting point, I should be able to pull in the rest. I'm going to check out your other videos to see if they might also help.

  • @simplyabdou8425
    @simplyabdou8425 2 года назад +1

    You get well deserved "Like" from me, very concise and informative video, thanks.

  • @richardgeiger3159
    @richardgeiger3159 2 года назад +1

    Excellent! Thank you.

  • @Sara-oy6ly
    @Sara-oy6ly Год назад

    This is the best tutorial ,thank you 😊

  • @shaharts8333
    @shaharts8333 11 месяцев назад +1

    I learned so many things from you. Thanks.

  • @abedjarjanazy1178
    @abedjarjanazy1178 2 года назад +1

    Great work my friend, keep going

  • @OmarAli-fw4qm
    @OmarAli-fw4qm 9 месяцев назад +1

    Thank you, this was a very clear explanation

  • @fareed1983
    @fareed1983 2 года назад

    Thank you. You are a great teacher.

  • @muddassirahmad36
    @muddassirahmad36 Год назад

    Best video so far. So understandable

  • @laszloszoke18
    @laszloszoke18 Год назад

    This is light in the dark. Thx!

  • @akhilvaidya4819
    @akhilvaidya4819 11 месяцев назад

    This was very helpful thanks!

  • @julianbushe458
    @julianbushe458 2 года назад +1

    Super helpful, thanks you!

  • @davithkane1369
    @davithkane1369 2 года назад +1

    Thank you so much, I really liked the video!

  • @titzko987
    @titzko987 2 года назад +1

    this is insanely well explained

  • @davidDN2318
    @davidDN2318 2 года назад

    This video was very helpful!!

  • @nataliia.slobodian
    @nataliia.slobodian Год назад

    Thank you for the video, you're amazing!

  • @paulliu6057
    @paulliu6057 Год назад

    Very good video for teaching Gradle!

  • @mateuszrohraff5012
    @mateuszrohraff5012 2 года назад

    Awesome job, keep it doing

  • @stevebotham1907
    @stevebotham1907 Год назад +1

    Excellent video thanks much.

  • @andrewryabchenko2407
    @andrewryabchenko2407 Год назад

    Thank you for this quick start guide. Very helpful.

  • @austinjeng2780
    @austinjeng2780 2 года назад

    One of the best pracitcal tutorial out here. Keep up the good work.

  • @PatronSaintZim
    @PatronSaintZim 2 года назад +1

    you are a lifesaver my man

  • @steveplace324
    @steveplace324 Год назад +1

    Great video, Hank Green!

  • @LukasAllmer
    @LukasAllmer 2 года назад +1

    Thank you very much for making this video!
    I actually have an exam in two weeks which focuses on Gradle.
    Our professor unfortunately didn't manage to convey why Gradle is a tool we should even bother with, but your introduction made that clear very quickly, which was exactly what I was looking for.

    • @TomGregoryTech
      @TomGregoryTech  2 года назад

      Awesome! Yeh it's good to undestand why we use these tools. I'll admit though, I didn't know there were Gradle exams. Good luck!

  • @andriikniaziev9242
    @andriikniaziev9242 5 месяцев назад

    Thanks, that is really nice!

  • @johnnychang3456
    @johnnychang3456 Год назад +1

    I was recently assigned with a Java project which I have 0 experience. Your videos make jvm ecosystem a lot less overwheming. Thank you. I subscribed and hopefully can see more videos from you!

  • @thabani1995
    @thabani1995 Год назад

    Thanks you a million for this!

  • @prasathvishnu
    @prasathvishnu 2 года назад

    Very useful. Thanks a lot.

  • @derryyeh
    @derryyeh 2 года назад

    The flow of your video is spectacular. I learn a lot in this video. Cheers!

  • @raneshkr123
    @raneshkr123 Год назад

    Wonderful explanation