Gradle Tutorial - Crash Course

  Рет қаралды 80,315

Marco Codes

Marco Codes

Күн бұрын

Пікірлер: 127
@Dragonyy-sb51
@Dragonyy-sb51 29 күн бұрын
Have decent experience in Python, had to switch to Java because of a school project. I heard that building java applications absolutely sucked and managing it was weird, so I installed Gradle. This video helped me figure it out pretty well, thank you.
@yohannestz9893
@yohannestz9893 Жыл бұрын
I have been using gradle for a long time. but I didn't deep dive into it to know how things work. thanks for taking your time to put this good material.
@MarcoCodes
@MarcoCodes Жыл бұрын
Glad it was helpful!
@akhiljaiswal9468
@akhiljaiswal9468 Жыл бұрын
This is the only video which I found to cover gradle concepts mostly used in real-time projects in enterprise world. Thanks a Ton, Marco! this video was really helpful.
@soundaryar459
@soundaryar459 Ай бұрын
Exactly what I was looking for. Also, that humour (just the right amount, not too much and not on your face) just makes this all the better 😭
@VikashSharmaVS
@VikashSharmaVS Жыл бұрын
watched so many videos, but never understood Gradle they way you did, thank you so much! God bless you.
@MrRecorder1
@MrRecorder1 Жыл бұрын
Jeez, thank you. This were enough information to get me started. Android Studio generated the enigma of the grandle-build toolchain for me. I did not really know what happened or where to look things up... now this is way more clear. Thank you!
@rafaeel731
@rafaeel731 2 жыл бұрын
This is one of the best and most efficient videos about Gradle with Groovy. If only it included Kotlin too. Other videos, despite being newer, teach obsolete Groovy syntax. Thanks.
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Thanks!
@m_account
@m_account 6 ай бұрын
Great course. Your videos are always the right blend of information and fun. Looking forward to the next part.
@AdekunleLawal
@AdekunleLawal 6 ай бұрын
Always thought Gradle was hard until i watched your video. Thanks a bunch 🙏🏽. Also love your presentation style.
@VanshitaGupta-pj6bo
@VanshitaGupta-pj6bo 2 жыл бұрын
Best compact version of all the major information regrading gradle- saved a lot of tym..thanks!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Glad you enjoyed it!
@burak4716
@burak4716 2 жыл бұрын
Amazing crash course. Thank you Marco
@quasa0
@quasa0 Жыл бұрын
This was a great video. Coming from C++ / Python, more recently Go / Java background, preparing a coding assignment in Kotlin with Gradle for my new job. Watched the video on 1.5x, great and exactly what I wanted.
@shreyagarwal6828
@shreyagarwal6828 2 жыл бұрын
Thank You Marco for taking out your time and explaining things so well. I am grateful 🙏🏻.
@ritwikgupta6025
@ritwikgupta6025 2 жыл бұрын
Thank You Marc😍 I don't know have word to express my gratitude toward you.
@MrMikomi
@MrMikomi Жыл бұрын
21:32 : "then come back here, see the link for the next video" Sorry I can't see it. Great video; would just love to see the next one. Thanks.
@MarcoCodes
@MarcoCodes Жыл бұрын
It hasn't been made yet :)
@tanieltari4539
@tanieltari4539 Жыл бұрын
​@@MarcoCodesIs it coming out anytime soon? :)
@kolotunbabubay
@kolotunbabubay Жыл бұрын
Finally something informative on the topic. 😀 Thx for the video.
@vamshikrishnachowdary2878
@vamshikrishnachowdary2878 2 жыл бұрын
I just loved it, you made this topic from cherry on the tree to cherry on the cake . Thank you a lot.
@timani27
@timani27 Жыл бұрын
The most effective and effective over of Gradle
@badripaudel77
@badripaudel77 2 жыл бұрын
Amazing as always. Nice & Easy ❤️
@AdityaChaudhari2424
@AdityaChaudhari2424 Жыл бұрын
You are amazing. You are a good teacher. its first time on your channel subscribed ! . Thank you very much for your efforts for this video.
@MarcoCodes
@MarcoCodes Жыл бұрын
Thanks and welcome
@abhishekkumar-ei5hl
@abhishekkumar-ei5hl 2 жыл бұрын
Thanks for this. Actually from some days I'm finding good tutorial of grade 🔥
@EyonadaNegus
@EyonadaNegus 9 ай бұрын
Very simple and easy to understand tutorial. Thank you
@florianvanbondoc3539
@florianvanbondoc3539 Жыл бұрын
new subscriber here, thanks that you explain all those confusing parts which are the most annoying
@MarcoCodes
@MarcoCodes Жыл бұрын
Happy to help!
@InderjeetSingh-jp3ln
@InderjeetSingh-jp3ln 2 жыл бұрын
Superb work! Please do also make one detailed crash course on GIT (using Intellij)
@byronjohnson2762
@byronjohnson2762 Жыл бұрын
Extremely helpful and well put together!
@AndrewCoding
@AndrewCoding Жыл бұрын
Thank you for this video. Your explaining is so well. Thanks 💯💯💯
@MarcoCodes
@MarcoCodes Жыл бұрын
You're very welcome!
@sergey_tech
@sergey_tech Жыл бұрын
Awesome explanation, thank you!
@KD0MOO
@KD0MOO 7 ай бұрын
Thanks for posting this!
@AayushGore-
@AayushGore- 8 ай бұрын
Thank you so much for being such great to the point! :)
@MihirKulkarni3
@MihirKulkarni3 2 жыл бұрын
Great crash course. Thanks for sharing!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
You are welcome :)
@rafaelbraga3d
@rafaelbraga3d 8 ай бұрын
Really awesome tutorial! Thanks a lot
@Christopher-pe6zj
@Christopher-pe6zj 2 жыл бұрын
I legit lol'd when you said you were gonna sell me a course for the other 10%.. I was thinking well at least the guy's honest straight away.. I'm still waiting for the VPN plug.. lols!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
:) No 10% courses, no VPN, no Bitcoin, no NFT plugs ever on here.
@dan110024
@dan110024 9 ай бұрын
"But then I thought noo f.. lets forget that" - good save, sir!
@utkarshdevgan6199
@utkarshdevgan6199 2 жыл бұрын
you are very very underatted!!!!!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Thank you.
@Josko-x7x
@Josko-x7x 5 ай бұрын
cometh the hour, cometh the man
@DavidePavan
@DavidePavan 2 жыл бұрын
Super Marco!
@ashishjha9262
@ashishjha9262 2 жыл бұрын
Amazing explanation!! Thanks :)
@shyamthe1
@shyamthe1 Жыл бұрын
Thanks Marco, for the wonderful demo! I am just getting started with Gradle and this really helped. On a separate note, I am a bit curious on how to enable the command prompter and color codes in Windows Cmd prompt. Would be great if you could with that too. 😊
@MarcoCodes
@MarcoCodes Жыл бұрын
github.com/chrisant996/clink
@driden1987
@driden1987 2 жыл бұрын
Hey Marco, great video ! I'm interested in the follow up video. I just inherited a behemoth that used gradle and I'm a newb. I also have a build.gradle in my root project, not sure what it's supposed to accomplish though 😅
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Thank you driden! The next Gradle video will have to wait a while though, a couple of others will follow first :) Is the build.gradle empt yin the root project? Or some general settings that get inherited across submodules?
@divyaagrawal810
@divyaagrawal810 2 жыл бұрын
Thank you for this!
@misaelramirez7550
@misaelramirez7550 2 жыл бұрын
Great vid!
@Basirafeef
@Basirafeef Жыл бұрын
thanks for sharing great knowledge sir. sir i created an app for multiple people from the same source with different name, themes, and server. the problem is when i update one i need to update others too. is there a why to create multiple apps from the same source with different name, themes, server and google's .json configuration file from one project with different source sets. thanks.
@MarcoCodes
@MarcoCodes Жыл бұрын
Impossible to give an answer without knowing your project in detail.
@Basirafeef
@Basirafeef Жыл бұрын
@@MarcoCodes thanks for reply sir, i have a sample app and i want to build other multiple apps from the same code base for other customers with app name , theme, server etc changes. is it possible with gradle to set applicationId, sourceSet and add google's .json configuration file.? sir, i want to create different flavors of my app for different customers with different app name, theme and different google admobe. thanks
@Basirafeef
@Basirafeef Жыл бұрын
the problem is when i update customer 1 app i need to update others to with the same change.
@MathieuBergounioux
@MathieuBergounioux 10 ай бұрын
"Fun _and_ entertaining at the same time"? It's almost scary how enjoyable it would be.
@MarcoCodes
@MarcoCodes 10 ай бұрын
:D
@eslamgad3723
@eslamgad3723 Жыл бұрын
Thank you sir, very useful
@MasoodAliKhanPathan
@MasoodAliKhanPathan 2 жыл бұрын
Nice one!
@pbkvijaykulkarni6404
@pbkvijaykulkarni6404 11 ай бұрын
Very nice
@red2n
@red2n 2 жыл бұрын
As always you were amazing 🌍
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Hey NavinKumar, I was pretty sure I replied to another comment of yours that has been deleted meanwhile? About Clink etc?
@red2n
@red2n 2 жыл бұрын
@@MarcoCodes yes i have added the comment but i dont know who deleted it. i was waiting for your reply but looks like that comment is deleted i dont know who did that. any way hope you got my message. I have started learning JAVA so i need some useful resource from people like you. and project related video should be use full to peoples like us. any way you are rocking and keep the pace.
@shubhankarmane3172
@shubhankarmane3172 2 жыл бұрын
great video marco, when will the follow-up video be released?
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Not sure yet
@masterten8599
@masterten8599 Жыл бұрын
I am using flutter with vscode and it want me to use gradle init but i don't see a flutter option as one of them
@MarcoCodes
@MarcoCodes Жыл бұрын
As I am using IntelliJ IDEA, I can't tell.
@biswajitpattanayak9992
@biswajitpattanayak9992 Жыл бұрын
when do you plan to release the follow up video on gradle?
@MarcoCodes
@MarcoCodes Жыл бұрын
Not planned in the next quarter:(
@curiossoul
@curiossoul Жыл бұрын
hey, great explanation. could you attach link to next video please.
@domasklimavicius3907
@domasklimavicius3907 2 жыл бұрын
Hey, amazing video! Is there another gradle video coming?
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Hey Domas, not planned at the moment. What specifically would you like to learn about in a follow-up?
@sagaryedireswarapu
@sagaryedireswarapu 2 жыл бұрын
@@MarcoCodes Would like to see about the most modern version of a gradle file and cleanups, that you mentioned around 18:20. Thanks for this Amazing video!
@pavel7650
@pavel7650 Жыл бұрын
Could not compile settings file 'C:\Java\learning_gradle\gradle-tutorial\settings.gradle'.
@MarcoCodes
@MarcoCodes Жыл бұрын
Without the actual error message, no chance
@ansbiq012
@ansbiq012 2 жыл бұрын
What are your video making tools ? Amazing videos. Could you tell me what screen recorder, web cam recorder do you use for making these videos? I want to try them. Thanks.
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Hey. I'm mostly using Camtasia to record. The specific make of the camera etc actually don't really matter at the beginning, any good webcam/camera will do, though I'm using a Sony ZV-1.
@michelchaghoury9629
@michelchaghoury9629 2 жыл бұрын
amazing channel keep going
@CryptoCodeZone
@CryptoCodeZone Жыл бұрын
What happened to the rest of the promissed Gradle videos you mentioned you will do
@MarcoCodes
@MarcoCodes Жыл бұрын
Not enough demand for them, for now, so they got pushed further down the backlog.
@filipemelo1408
@filipemelo1408 2 жыл бұрын
I hope this course is good, because I came from C# where I was used with easy life and Visual studio hehe
@venkatvikram8241
@venkatvikram8241 7 ай бұрын
hey Marco, I'm having an error saying "settings.gradle" could not be compiled
@venkatvikram8241
@venkatvikram8241 7 ай бұрын
nevermind, I had a version mismatch which caused the error
@Jod4light
@Jod4light 2 жыл бұрын
Another great video Marco! Just one point, when I clone the git repo and run "gradlew build" and then "gradlew test", the index.html file is missing. I have just "my-webapp/build/test-results/test/binary/" folder with empty files.
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Hey, so, first of all running either gradlew test or gradlew build is enough, because build includes test like shown in the video. And then you'll find the report in "my-webapp/build/reports/.." I'll quickly have to double check what the video says :D Thanks!
@marcobehler1395
@marcobehler1395 2 жыл бұрын
@@MarcoCodes The video also shows "build/reports". Try that out and see if the index.html file is there :)
@Jod4light
@Jod4light 2 жыл бұрын
​ @Marco Behler Yes, my fault, thanks :)
@everydayasmr8440
@everydayasmr8440 2 жыл бұрын
i dont find the follow up gradle tutorial video you're speaking about at the end
@MarcoCodes
@MarcoCodes 2 жыл бұрын
That is because it hasn't been recorded yet :)
@everydayasmr8440
@everydayasmr8440 2 жыл бұрын
@@MarcoCodes would be interested in that :)
@imspzero8730
@imspzero8730 8 ай бұрын
@@MarcoCodes Waiting for it
@ЛукаРадујевић
@ЛукаРадујевић 2 жыл бұрын
What is a name of the plugin you are using for command line in order to have autocompletion?
@MarcoCodes
@MarcoCodes 2 жыл бұрын
It is this: github.com/chrisant996/clink
@pad5724
@pad5724 2 жыл бұрын
Great, thanks
@dleonardo3238
@dleonardo3238 11 ай бұрын
Would you migrate from groovy to Kotlin?
@MarcoCodes
@MarcoCodes 11 ай бұрын
For legacy projects, nope.
@muraliaathi6118
@muraliaathi6118 Жыл бұрын
@Marco Is it possible to debug build.gradle ?
@MarcoCodes
@MarcoCodes Жыл бұрын
See stackoverflow.com/questions/28437636/how-to-debug-a-gradle-build-gradle-file-in-a-debugger-with-breakpoints
@jim0_o
@jim0_o 2 жыл бұрын
This video is missing the part where you explain building a project that doesn't come with the gradlew(.bat) file and folder, where you need to install gradle (add its bin folder to your environment variables) and run "gradle build" (from the folder with the settings.gradle((I assume since its unique while there can be more build.gradle files [it was the first path I tried and it worked]))) this video got me half way there (the rest was a different video and then some guess-work).
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Hey Jim! It's basically covered at 18:40, where I show how to use package managers to install Gradle - even though the manual way you described also works just fine. That being said, Gradle projects without wrappers are somewhat in the minority nowadays.
@zzzzzzzzzzsh
@zzzzzzzzzzsh 2 жыл бұрын
Thanks for yor great explanation! Even though your explanation is very clear and simple, I think maven is too simple to understand and to quickly get started with compared to gradle. It might because I have worked with maven alot then try to map things to Gradle 😬
@MarcoCodes
@MarcoCodes 2 жыл бұрын
I actually think along similar lines. The thing is, Gradle is _super_ powerful, but just a few people I know put in the time and effort to really learn and understand it - as opposed to copy & pasting random Stackoverflow snippets. With Maven, you cannot shoot yourself in the foot that easily.
@zzzzzzzzzzsh
@zzzzzzzzzzsh 2 жыл бұрын
@@MarcoCodes Agree with you! I think Maven can't let you shoot yourself in the foot because of thr power of the Xml as there is that schema which puts validation and constraints in how you configure the maven settings. As you said Gradle is very powerful for advanced thing, it gives you more flexibility and that flexibility comes with a cost!
@jopadjr
@jopadjr Жыл бұрын
906th...Great explanation !!!
@jamesvandiver7193
@jamesvandiver7193 Жыл бұрын
Can you do a video tutorial on ODFDOM for java
@MarcoCodes
@MarcoCodes Жыл бұрын
Noted, but can't promise anything.
@SritharBoss
@SritharBoss 2 ай бұрын
Really good Tutorial. But I've never seen someone navigating files and cat files in the WINDOWS command line 😅
@ArtificialDjDAGX
@ArtificialDjDAGX Жыл бұрын
so, why do you recommend kotlin over groovy?
@MarcoCodes
@MarcoCodes Жыл бұрын
Hard to put down into a YT comment, maybe in the next video :)
@ZaineAmanda
@ZaineAmanda Жыл бұрын
It would be great if you put subtitles
@MarcoCodes
@MarcoCodes Жыл бұрын
Are there no auto-generated ones?
@enesb4797
@enesb4797 2 жыл бұрын
is this a beginner video?
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Well, you could give it a watch and find out :) I would say so.
@enesb4797
@enesb4797 2 жыл бұрын
@@MarcoCodes Well I did watch but I feel like it's mid-advance level. You did not even explain what's gradle at all.
@ritwikgupta6025
@ritwikgupta6025 2 жыл бұрын
Marc will you please a make video One small Gradle Real Time Gradle Project Please _/\_ 🤏🙏
@CriticasDeCriticas
@CriticasDeCriticas Ай бұрын
You cannot be a "Senior" Android Developer if you cannot configure gradle
@Sisyphus.
@Sisyphus. Жыл бұрын
why cant anyone do a simple tutorial for this shit but they have to put all the shit they know just a step by step
@MarcoCodes
@MarcoCodes Жыл бұрын
You won't believe it, but this -is- the simple tutorial and close to 5% of what Gradle offers.
@Sisyphus.
@Sisyphus. Жыл бұрын
@MarcoCodes yeah yeah jibber jabber
@MarcoCodes
@MarcoCodes Жыл бұрын
jabber jibber yeah yeah
@quanyshev.a
@quanyshev.a 3 күн бұрын
bro half of the video is absolute nonsense for people who just began learning gradle, dislike
@MarcoCodes
@MarcoCodes 3 күн бұрын
THANKS, BRO!
@willaugust7824
@willaugust7824 8 ай бұрын
Kindly tell me, how to resolve this error message while building android; BUILD FAILED in 2s Command failed with exit code 1: C:\Users\USER\GWLAPP2\platforms\android\tools\gradlew.bat cdvBuildDebug
@MarcoCodes
@MarcoCodes 7 ай бұрын
Can't help out here, sorry.
Maven Tutorial - Crash Course
26:08
Marco Codes
Рет қаралды 201 М.
Spring Boot Tutorial - Crash Course
1:16:32
Marco Codes
Рет қаралды 189 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Key Gradle Concepts And Practices - Kenneth Kousen
1:03:10
Developer Summit
Рет қаралды 2,6 М.
The Ultimate Gradle Kotlin Beginner's Crash Course For 2025
42:17
Philipp Lackner
Рет қаралды 31 М.
Gradle Was Hard Until I Learnt This INSANE Secret
6:16
Tom Gregory
Рет қаралды 55 М.
Gradle tutorial for complete beginners
24:48
Tom Gregory
Рет қаралды 243 М.
With these 5 Gradle benefits you'll NEVER use Maven again
10:53
Tom Gregory
Рет қаралды 16 М.
GitLab CI CD Tutorial for Beginners [Crash Course]
1:09:00
TechWorld with Nana
Рет қаралды 1,3 МЛН
Степан Гончаров - Gradle от A до Я
51:31
Mobius — конференция по мобильной разработке
Рет қаралды 44 М.
Hibernate & JPA Tutorial - Crash Course
24:27
Marco Codes
Рет қаралды 124 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН