How to Automate Tasks Using Gradle - Android Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 27 окт 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!

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

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

  • @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!

  • @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 5 дней назад

    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!

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

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

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

    Thank you, Philipp! I wanted to vote for Gradle Kotlin DSL video but I found it is already exist. 😊
    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!

  • @ShivamKumar-rp8kr
    @ShivamKumar-rp8kr Год назад +1

    Thanks. It was very helpful

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

    Nice video to automate tasks using gradle 👍 Thanks Philipp

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

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

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

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

  • @wardengrant6070
    @wardengrant6070 2 года назад +4

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

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

    Thanks! fast video that helped me!!

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

    Content is gold 👌

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

    Amazing explained..🎉

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

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

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

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

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

    Thank for making such good videos, Philip

  • @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.

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

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

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

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

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

    Excellent video !!!!

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

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

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

    Great tutorial. Thank you.

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

    Thanks for the great explanation 🥰

  • @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 😀

  • @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?

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

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

  • @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

  • @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.

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

    Thank you very much 🥰

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

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

  • @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.

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

    Thank you very much... 🙏

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

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

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

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

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

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

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

    Good content ❤

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

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

  • @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.

  • @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 ?

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

    please please make an advanced gradle course!

  • @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

  • @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?

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

    So nice, talk more about it.

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

    could i get the links to the task lectures

  • @random-videos96
    @random-videos96 5 месяцев назад

    Can you please update your video according to kotlin dsl?

  • @mohyddineal-lahham7620
    @mohyddineal-lahham7620 2 года назад

    Can you do something related to camera X

  • @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

  • @NovruzCəfərov-r9w
    @NovruzCəfərov-r9w 8 месяцев назад

    ant.checksum alternative in gradle.kts?

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

    Cool buddy

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

    Commenting for better reach

  • @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

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

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

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

    ✌️

  • @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?