How to Automate Tasks Using Gradle - Android Studio Tutorial

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 71

  • @aakashr79
    @aakashr79 2 роки тому +24

    Dude. Thank you for finally choosing to do videos on Gradle. I think it would be a phenomenal value addition to Android devs if you continued to go into more advanced and practical automations regarding dependency resolution, SDK version ambiguities etc. Cheers to your efforts!

  • @pheroqt1238
    @pheroqt1238 2 роки тому +24

    Hey Philipp, Kotlin DSL migration guide would be awesome and a good complement to the Gradle Playlist. Thank you for your work!

  • @camilohernandezruiz2776
    @camilohernandezruiz2776 Рік тому +1

    Your channel is a complete academy, I love it !
    Greetings from Cali, Colombia !

  • @kushiskinng
    @kushiskinng 2 роки тому +5

    Hey Philipp, this was really easy and helpful. Thankyou! I would really like if you could continue this grade tutorial series

  • @AliAhmad-dev
    @AliAhmad-dev 17 днів тому

    Thank you so much for this informative video, Mr. Philip! It has been incredibly helpful.
    I noticed the video was published a couple of years ago. Given the rapid evolution of Kotlin DSL and Gradle, I'm curious if you'd consider creating an updated video that covers the latest features and best practices. I'd be very interested in watching it!

  • @alexnovikov1609
    @alexnovikov1609 Рік тому

    Thank you, Philipp! I wanted to vote for Gradle Kotlin DSL video but I found it is already exist. 😊
    Thanks again!

  • @amirhosseinparhizgar4528
    @amirhosseinparhizgar4528 2 роки тому +1

    Thank you philipp for making these two videos. If you make more of Gradle it would be amazing. thanks again!

  • @nosrehcorporation
    @nosrehcorporation 2 роки тому

    Man best video that finally teaches something interesting and useful about Gradle, thanks.

  • @egbertw
    @egbertw 2 роки тому

    Working on Gradle today, this video is really helpful!

  • @wardengrant6070
    @wardengrant6070 2 роки тому +4

    Yeah definitely gradle videos are awesome, there's not much great resources out there. Looking forward to more!

  • @muhammadihfazhillah9279
    @muhammadihfazhillah9279 2 роки тому

    Wow, thank you for the explanation. Since I working with android, I cannot understand it well.

  • @ashwinpatidar7065
    @ashwinpatidar7065 2 роки тому +1

    Nice video to automate tasks using gradle 👍 Thanks Philipp

  • @enikebraimoh
    @enikebraimoh 2 роки тому

    Thanks alot phil... A kotlin dsl video would be really really nice❤️💯

  • @ShivamKumar-rp8kr
    @ShivamKumar-rp8kr Рік тому +1

    Thanks. It was very helpful

  • @ashwinpatidar7065
    @ashwinpatidar7065 2 роки тому +2

    If you can make more videos on Gradle, it will be more beneficial.

  • @dharamveergupta1305
    @dharamveergupta1305 2 роки тому

    Bro, you explained it very well. Yes, we would like watch video on Kotlin DSL 👍

  • @husseinalzhuile1201
    @husseinalzhuile1201 2 роки тому +2

    Thank you for the great information.
    Can you make a video about the other gradle files (Settings , Wrapper , Gradle Properties).
    And thank you again for your helpful videos.

  • @vikramragunathan6392
    @vikramragunathan6392 Рік тому

    Content is gold 👌

  • @iconstleo
    @iconstleo Рік тому

    Thanks! fast video that helped me!!

  • @alihosseinnezhad2957
    @alihosseinnezhad2957 2 роки тому +1

    Interesting, thanks Philip 😊.
    When I use kotlin dsl in android studio, it doesn't notify me about new release version of dependencies ,
    Do you have any way for that?

  • @Guilo583
    @Guilo583 2 роки тому

    Thanks my teacher for video. If I want to do some prebuilds stoffs.

  • @nicolasvantsis6166
    @nicolasvantsis6166 2 роки тому

    Very nice video like always. 😉
    Yes, I would like a video about how to migrate from Groovy to Kotlin.

  • @frank4pickerson
    @frank4pickerson 2 роки тому

    I want to see the Kotlin version of Gadle instead of Groovy. Great video!

  • @mahmoudmirghafari7395
    @mahmoudmirghafari7395 2 роки тому

    Thank for making such good videos, Philip

  • @AndresDavidserrano117
    @AndresDavidserrano117 Рік тому

    Nice work Philipp, how can I get git information to rename my apk acording to the branch that I'm ussing?

  • @vishalkumarsinghvi
    @vishalkumarsinghvi 2 роки тому +1

    Amazing explained..🎉

  • @romeobetances7964
    @romeobetances7964 2 роки тому

    Thanks a lot! I believe that you should create to video about CI / CD with Github Actions, Jenkins or any automatization tool.

  • @Basirafeef
    @Basirafeef Рік тому

    thanks for sharing great knowledge sir.
    sir i created an app for multiple people from the same source with different name, themes, server and google's .json configuration file. 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.

  • @kid0kid113
    @kid0kid113 2 роки тому +2

    nice tutorial :)
    for me personally, gradle groovy it's kinda hard to learn because there is no specific auto complete from the IDE and sometimes we can't go to function / object declaration just by ctrl + click / cmd + click . .
    and the most confusing is how we know that we should use this or that (for example : layout.buildDir, finalizedBy, dependsOn, whenTaskAdded, findByPath etc) . .
    It would be easier if there is a feature to show the task graph (what tasks executed when we simply run single task), so we know when and where to put our code as a gradle hook task . .

    • @malbolgee
      @malbolgee 11 місяців тому

      exactly my thoughts

  • @niranz7745
    @niranz7745 2 роки тому

    surely would like to see a kotlin-DSL version of this tutorial

  • @thegamechannel4837
    @thegamechannel4837 2 роки тому

    Excellent video !!!!

  • @AndroidDojo
    @AndroidDojo 2 роки тому

    Wow, this is cool Man, can you create a GradleBasicplaylist please 🙏, this is soooooo important. There are no videos talking about Android Gradle exactly like this 😀

  • @yasserakbbach7342
    @yasserakbbach7342 2 роки тому

    Thanks for the great explanation 🥰

  • @chitkhin1616
    @chitkhin1616 2 роки тому

    Hi philipp, can you please make video lesson about CI/CD? Github Actions please

  • @cashat
    @cashat 2 роки тому

    Thank you very much 🥰

  • @adrianivasku6400
    @adrianivasku6400 2 роки тому

    Great tutorial. Thank you.

  • @igormorozov6311
    @igormorozov6311 2 роки тому

    Thanks, but where a link to a previous video???

  • @sadhanajagadish
    @sadhanajagadish Рік тому

    Thank you very much... 🙏

  • @haykmkrtchyan7093
    @haykmkrtchyan7093 2 роки тому

    Hi Philipp, thank you for this tutorial. I have one issue. The "tasks.whenTaskAdded" is not working in project level build gradle file. I guess if we have multimodule project, the right place to add our tasks is project level gradle file.

  • @chaoshi4675
    @chaoshi4675 2 роки тому

    please please make an advanced gradle course!

  • @elangovankr110
    @elangovankr110 2 роки тому

    Good content ❤

  • @elijahonduso
    @elijahonduso 2 роки тому +1

    How do you automate version_code generation only when building release apk

  • @RAJSINGH-mr7hq
    @RAJSINGH-mr7hq Рік тому

    Hi @Philipp can you provide the video with kotlin version of gradle files ?

  • @mustafaammar551
    @mustafaammar551 2 роки тому

    very cool video thank you Bro 🔥🔥🔥👍👍👍

  • @ChrisAthanas
    @ChrisAthanas 2 роки тому

    What is a good resource for learning gradle for android other than the terrible gradle documentation?

  • @MaisUmSomente
    @MaisUmSomente 2 роки тому

    So nice, talk more about it.

  • @amineayachi335
    @amineayachi335 2 роки тому

    first thanks for the great content , and i am wondering if you could make tutorial about mobile payment using payment apis (payseera , visa cards ...) and with some options if you have time like nfc payent that would be great thanks in advance

  • @mohyddineal-lahham7620
    @mohyddineal-lahham7620 2 роки тому

    Can you do something related to camera X

  • @Chintanparmar
    @Chintanparmar 2 роки тому

    Commenting for better reach

  • @mohammadcs5708
    @mohammadcs5708 2 роки тому

    Cool buddy

  • @NovruzCəfərov-r9w
    @NovruzCəfərov-r9w 8 місяців тому

    ant.checksum alternative in gradle.kts?

  • @random-videos96
    @random-videos96 6 місяців тому

    Can you please update your video according to kotlin dsl?

  • @gauravthakkar802
    @gauravthakkar802 2 роки тому +1

    What theme do you use?

    • @maskedredstonerproz
      @maskedredstonerproz 2 роки тому

      I'm not him, and I'm not sure, but it's most likely the default dark theme on a mac, since if it wasn't, the theme wouldn't have changed when he got a mac, but would've stayed the same

    • @PhilippLackner
      @PhilippLackner  2 роки тому

      @@maskedredstonerproz its called xcode dark and is not the default

    • @gauravthakkar802
      @gauravthakkar802 2 роки тому

      Yep I guessed so, it looks so much like Xcode specially the side minimised thing, I don't know what they call it

    • @mohammadansar2987
      @mohammadansar2987 2 роки тому

      some my personal favourite themes
      Lotus Dark
      Lotus Light
      Obsidian
      Xcode Dark

    • @mohammadansar2987
      @mohammadansar2987 2 роки тому

      @@PhilippLackner try Lotus Dark, u will like bcz the code color is green and it looks beautiful

  • @imhotep650
    @imhotep650 2 роки тому

    Isn't the checksum like that just hashing the pathway and not the file? In that way it would just prove that the file has the right name and is in the right directory

    • @andrefilgueiras
      @andrefilgueiras 2 роки тому

      By reading the code I had the same impression but if you change the path you realize it's the same hash.
      If you want to change to SHA-256 I've found this
      ant.checksum(file: file, fileext: '.SHA256', algorithm: "SHA-256", pattern: "{0} {1}")
      Play around with the parameters

  • @umanahuduak6347
    @umanahuduak6347 2 роки тому

    could i get the links to the task lectures

  • @code_with_sanjay
    @code_with_sanjay 2 роки тому

    ✌️

  • @malbolgee
    @malbolgee 11 місяців тому

    I was trying to do a task that increases the app version when a release build is run by changing the version.properties file, but I cannot make this task run befone anything else runs, to set the versionCode and versionName variables, as well as the archivesBaseName including this version updated, does anyone have any idea how to do it?

  • @TheUltimateHugman
    @TheUltimateHugman 2 роки тому

    Gradle docs are so poorly written. Thank you for this explanation!

  • @youmeandeveryone5893
    @youmeandeveryone5893 2 роки тому

    I kind of hate gradle. As it is relatively new.

  • @ChrisAthanas
    @ChrisAthanas 2 роки тому

    What is a good resource for learning gradle for android other than the terrible gradle documentation?