How to Build a Custom Gradle Plugin to Share Project Config - Multi-Module Architecture

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

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

  • @bensekyondwa
    @bensekyondwa Год назад +16

    I recently migrated a multimodule project from Groovy to Kotlin DSL and also used convention plugins for sharing configurations. I must say these custom gradle plugins made my work alot easier.

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

      W

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

      @bensekyondwa please can you share any other article / blog that you know about this .please can you share any other article / blog that you know about this .

  • @simonet6766
    @simonet6766 Год назад +6

    For simplify, you can also set kotlin jvmToolchain(18) and remove compileOption and jvmTarget in kotlin branch, much cleaner for me

  • @jayceeddeyro1406
    @jayceeddeyro1406 11 месяцев назад +2

    Hello Philipp, I have a question regarding multi-modules, especially when dealing with more than 30 features. How do we handle the management of having this many build.gradle.kts files, and what are the drawbacks, particularly when examining the build variants, which may result in a substantial list?

  • @tonnie7079
    @tonnie7079 10 месяцев назад +1

    This is so helpful - One Question though, what is the difference between Dependencies and Plugins?

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

    I will add this things to my current app which already migrate to Kotlin DSL, thanks for sharing.

  • @Fo0nT
    @Fo0nT Год назад +8

    Convention plugins are even better

  • @omer.ozdemir7
    @omer.ozdemir7 3 месяца назад

    one more golden content ty Philipp

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

    not all heroes wear capes

  • @NiteshSingh-bv9lu
    @NiteshSingh-bv9lu Год назад +1

    Hi Philipp,
    Can you make 1 video on mockk unit testing library? Please explain me

  • @DeepuGeorgeJacob
    @DeepuGeorgeJacob 10 месяцев назад +2

    Hi Philip, Can we use Toml with custom gradle plugin?

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

      I'd like to know that too

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

    Hello @Phillip how would you increment version name or number constants in fastlane or some CICD with this custom implementation

  • @haxidenti6001
    @haxidenti6001 5 дней назад

    I didn't understood android() extension ? How? It's just getting extension by class!

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

    @Philipp, What is the difference between kotlin library and android library? When to use one or the other? That option is available when you are going to add a module to a project.

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

      It depends. If u need android platform code (Context, Broadcast receivers) go for android library. In other cases use the kotlin library.

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

    hey Bro Good Day can you make a video please on how to shrink and Pro take Res File in android studio please or how to use ResGuard in Gradle 8.1

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

    Hi @Philipp, Very nice and detailed video. Can you tell me how the module can apply App level BuildConfig ?

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

    Will this work on a groovy version of gradle? Or should I migrate it to kotlin first?

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

      it works with groovy as well

  • @androidkotlin-6234
    @androidkotlin-6234 11 месяцев назад

    very usefull tutorial. thx

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

    How do i do it for an Application-Type Module?

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

    Amazing.

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

    Very nice...

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

    Don't know why is RUclips deleting my comments about the code for how to also add plugin to app module