Gradle tutorial for complete beginners

Share
Embed

Comments • 104

  • Ultimate Warrior Frieza
    Ultimate Warrior Frieza 7 months ago +14

    English isn't my native tounge but recently I watched the udacity gradle course also here on TheXvid, 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!

  • Charles Rodriguez
    Charles Rodriguez Month ago +3

    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!

  • cschmitz
    cschmitz 4 months ago +7

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

    • Tom Gregory
      Tom Gregory  4 months ago +1

      That's great cshchmitz. Glad it helped!

  • 0612 TV w/ NERDfirst
    0612 TV w/ NERDfirst 3 months ago +4

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

    • Tom Gregory
      Tom Gregory  3 months ago

      Awesome. Glad it hit the target for you!

  • Prashant Singh
    Prashant Singh 4 months ago +2

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

  • Vikrant Chauhan
    Vikrant Chauhan 4 months ago +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.

  • DeathBender
    DeathBender 2 months ago +1

    Thank you Sir very well versed and explained (for a maven user :D )

  • Wendy Lee
    Wendy Lee 6 months ago +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!

    • Tom Gregory
      Tom Gregory  6 months ago

      So glad it helped Wendy. Thanks for the reviews.

  • Brendo
    Brendo 2 months ago +1

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

  • Lukas Allmer
    Lukas Allmer 15 hours ago

    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.

    • Tom Gregory
      Tom Gregory  14 hours ago

      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!

  • Selvakumar Jayabal
    Selvakumar Jayabal 7 months ago +3

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

  • Armando Lara
    Armando Lara 4 months ago +1

    Thank you a lot!! Quick and very introductory!

  • Clyde Nanimo
    Clyde Nanimo 3 months ago

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

  • titzko titzko
    titzko titzko Day ago +1

    this is insanely well explained

  • No1 Sploit
    No1 Sploit 4 months ago +1

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

  • Simply Abdou
    Simply Abdou 2 months ago +1

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

  • Fareed R
    Fareed R 2 months ago

    Thank you. You are a great teacher.

  • Diego Ochoa
    Diego Ochoa 4 months ago +1

    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!

  • Kaiser Sakhi
    Kaiser Sakhi 6 months ago

    this is amazing explanation , love it!

    • Tom Gregory
      Tom Gregory  6 months ago

      That's great & you're welcome Kaiser!

  • Austin Jeng
    Austin Jeng 3 months ago

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

  • Max Yang
    Max Yang Month ago

    Hi Tom, thanks for the great video! I am wondering what the "package com.tomgregory" at the top of the java file means. Thank you.

    • Max Yang
      Max Yang Month ago

      @Tom Gregory thank you so much!

    • Tom Gregory
      Tom Gregory  Month ago

      Hi Max. Java classes live in packages. You can think of packages as a way of organising classes like you do files in a directory structure.
      A class must declare its package at the top, which must match its actual file location.

  • fez
    fez 2 months ago +1

    Thank you for this amazing tutorial

  • Derry
    Derry 12 days ago

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

  • TCA Stock
    TCA Stock Month ago +1

    Thank you very much, a nicely structured video

  • Jiuhong Sun
    Jiuhong Sun 4 months ago

    Hi Tom, can you please give a deeper tutorial about dependencies on build.gradle and how to import them on java file?

    • Tom Gregory
      Tom Gregory  4 months ago

      Sure Jiuhong, but what specifically do you want to know? FYI my free course Get Going with Gradle 🚀 goes into some more detail.

  • Julian Bushe
    Julian Bushe 4 months ago +1

    Super helpful, thanks you!

  • Aviad Shua
    Aviad Shua 4 months ago +1

    Thank you , one of the most useful tutorial i watched

  • Ace Bank
    Ace Bank 2 months ago

    Totally in love with channel :) ,
    Advice: Please mention include the source files use dsay in a git repo
    Request: Please bring a tutorial for Gradle build scan enablement.
    Thanks for the lovely work

    • Ace Bank
      Ace Bank 2 months ago

      @Tom Gregory Thanks you so much and also please bring a lecture on Gradele Scan plugin enablement

    • Tom Gregory
      Tom Gregory  2 months ago +1

      Hi Ace. Oops I forgot to add the GitHub repo link. Thanks for your suggestion! github.com/tkgregory/gradle-tutorial

  • Joonas Krohn
    Joonas Krohn 5 months ago

    Thanks for an excellent tutorial!

  • Voice Guy
    Voice Guy 7 months ago +1

    Thanks for the informative tutorial!

  • Siamak Hatami
    Siamak Hatami 14 days ago

    Thank you. This was the best explanation that could be given.

  • Alperen Terzi
    Alperen Terzi 5 months ago

    Very nice video, i just built my first gradle app with your video. Thanks MAN!

  • Michael Hashimoto
    Michael Hashimoto 6 months ago +1

    This is so good. Thank you!

  • Vishnu Prasath Subramaniam

    Very useful. Thanks a lot.

  • Ade Oke
    Ade Oke 2 months ago +1

    You have a great thought process. Nice video.

  • Richard Geiger
    Richard Geiger 3 months ago +1

    Excellent! Thank you.

  • Abed Jarjanazy
    Abed Jarjanazy 6 months ago +1

    Great work my friend, keep going

  • Cristina Valdez
    Cristina Valdez 4 months ago +1

    great tutorial!

  • Davith Kane
    Davith Kane 6 months ago +1

    Thank you so much, I really liked the video!

  • Nadav Friedman
    Nadav Friedman 6 months ago

    Man this is by far the best gradle HANDS ON tutorial on the net includes udemy courses, great work. the only part that missing is the way you communicate with the gradle's documentation... it seems like the commands you're putting out there is out of no where, while if you would refer to the gradle's documentation and how to search there it would be much clearer. one again - GREAT video. thank you so much for sharing your knowledge

    • Nadav Friedman
      Nadav Friedman 6 months ago

      @Tom Gregory Yes, Exactly. same about the dependencies and everything else you entered there, i guess the purpose of the video is to gain beginners basic information and independency in related to gradle. The basic information part is well covered, while the independency part can not be covered unless your viewers wont know how to search by themselves at the documentation. Once again, thanks a lot. Cheer’s

    • Tom Gregory
      Tom Gregory  6 months ago

      Hi Nadav. Glad you liked it! So maybe rather than just running "gradle init", refer to the docs first? I really appreciate the suggestions. Thanks.

  • Joe Doria
    Joe Doria 6 months ago +2

    great video!

  • Martin Dotts
    Martin Dotts 6 months ago +1

    0:00 Introduction
    0:41 1) Who is this tutorial for?
    1:00 2) Why do we need build tools?
    4:19 3) The Gradle build tool solution
    6:20 4) Maven vs Gradle
    7:35 5) Installing Gradle
    9:07 6) Creating a project with Gradle init
    10:41 7) Gradle project files
    12:50 8) Using the Gradle wrapper
    13:34 9) Projects, Build Scripts, Tasks & Plugins
    15:38 10) Groovy Essentials
    17:06 11) Building a Java application
    19:53 12) Configuring tasks
    21:08 13) Testing
    22:08 14) Adding dependencies and repositories
    23:35 15) Summary
    24:10 16) Next steps
    Hey man, could you copy and paste this into the description, that way the video will be easier to navigate for future viewers?

    • Martin Dotts
      Martin Dotts 6 months ago

      @Tom Gregory Awesome. Thanks a ton!

    • Tom Gregory
      Tom Gregory  6 months ago +1

      @Martin Dotts My bad. It was because I was missing the 0:00. Fixed now.

    • Martin Dotts
      Martin Dotts 6 months ago

      @Tom Gregory Oh yeah! Thanks. For some reason, youtube's not doing the thing where the sections are shown in a pop up. My apologies.

    • Tom Gregory
      Tom Gregory  6 months ago

      Hi Martin. Thanks, but it's already in the description. Can you see it?

  • Jiuhong Sun
    Jiuhong Sun 4 months ago

    Awesome! Thank you!

  • Jemale Akil
    Jemale Akil 4 months ago +1

    Very lucky to find out your channel. Thank you so much

  • Betsegaw Lemma Amersho
    Betsegaw Lemma Amersho 6 months ago +1

    Succinct, very clear thank you

  • Harun Farah
    Harun Farah 6 months ago +1

    Ive learnt a lot more about gradle here than my lecturer, i feel guilty that this is free.

    • Harun Farah
      Harun Farah 6 months ago +1

      @Tom Gregory CS

    • Tom Gregory
      Tom Gregory  6 months ago

      Thanks Harun. You're welcome :) Which course are you referring to?

  • Zimri
    Zimri 2 months ago +1

    you are a lifesaver my man

  • Sargis Sargsyan
    Sargis Sargsyan 3 months ago

    This is an excellent tutorial...

  • IC
    IC 2 months ago +1

    Beautifully explained with some dry British humour lol

  • Maximiliano Sorich
    Maximiliano Sorich Month ago +1

    Awesome

  • Aditya Prasad
    Aditya Prasad 2 months ago

    Got to learn a lot here. But can anyone suggest me how to create custom libraries using gradle and how to import the same as well ??!!

  • dan sierra
    dan sierra 6 months ago

    should have more views , excellent video

  • Omprakash Yadav
    Omprakash Yadav Month ago

    Awesome

  • jokerTrickzzZ
    jokerTrickzzZ 13 days ago

    in part 12 you include the
    jar{ manifest{ attributes 'MainClass': ...}}
    inorder to make the jar file runnable.
    What is the difference between the method in which you would include the plugin 'application' and also add mainClassName = ... to your build.gradle file?
    with the second method it is also possible to run the main class with the command gradlew run, what seems more convenient than using the java -jar ... command for the jar file in mehtod 1.

    • jokerTrickzzZ
      jokerTrickzzZ 12 days ago

      Thanks a lot! You‘re the best!

    • Tom Gregory
      Tom Gregory  13 days ago +1

      Very good question. You can use both techniques together. The advantage of the MainClass manifest attribute is that it's added to the jar. Even after the jar is published (outside of your Gradle project) it's still executable.

  • Prashant Singh
    Prashant Singh 2 months ago +1

    Thank you

  • Sonee Jaiswal
    Sonee Jaiswal 20 days ago

    All I could see is you were reading everything that you were explaining!

    • Tom Gregory
      Tom Gregory  20 days ago

      Hi Sonee. Thanks for your careful observation. I find speaking "on the fly" quite challenging, but gave it a go on my latest video. Let me know what you think!

  • M27Lab
    M27Lab 4 months ago +1

    great

  • shilpa kamble
    shilpa kamble 2 months ago +1

    Great tutorial plus he gives you Sheldon Cooper vibes and jokes

  • MajorTom1313
    MajorTom1313 13 hours ago

    Let us know if you have a discount on the gradle hero course some day. :)

  • Raidou Ng
    Raidou Ng Month ago +1

    man, that british accent :P cant wait for spring boot, hibernate , everything whatever concerns java tutorials:>

  • Tom Gregory
    Tom Gregory  7 months ago

    ►► Getting started with Gradle just got much easier. Check out my FREE Get Going with Gradle course → bit.ly/3HyZCCK

  • Rich
    Rich 6 months ago

    I’m from node. Is gradle like webpack + npm ?

    • Tom Gregory
      Tom Gregory  6 months ago

      Hi Rich. Gradle is a build tool popular for building applications written in JVM languages like Java. Building these kinds of applications has certain requirements, like compiling the code. Gradle handles these very well. Much like NPM handles the requirements for building Node.js applications.

  • Layarion
    Layarion Month ago

    I didn't get a ".gitingore" file?

    • Tom Gregory
      Tom Gregory  Month ago

      Hi Layarion. ".gitignore" is a hidden file so you need to list it with "ls -la". Or if you're on Windows make sure File explorer is set to show hidden files.

  • channel0001
    channel0001 4 months ago

    Which is better? Grade or Maven? Complete beginner

    • Tom Gregory
      Tom Gregory  4 months ago +1

      Starting a new Java project -> Gradle
      Joining an existing Gradle project -> Gradle
      Just "trying out" Java build tools -> Gradle
      Joining a Maven project -> Maven
      Love huge XML build scripts -> Maven 😉

  • Dimidri Sanchez
    Dimidri Sanchez 2 months ago

    i love u tommy thanks a lot