Gradle Dive: Writing Custom Plugins

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Gradle Dive: Writing Custom Plugins

Theophilus Kibet

November 15, 2022

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

32 slides
  1. 26+

  2. - Each module needs a build.gradle - Duplicate scripts in

    each module - Hard to maintain e.g creating a build type
  3. - packages up reusable pieces of build logic, which can

    be used across many different projects and builds. Gradle Plugin
  4. - Written by implementing plugin interface - Applied using a

    unique id - plugins { id(“com.android.library”) } Binary Plugin
  5. - Share build logic across modules - Reduced build script

    size - Migrate all our files to kts Benefits

More Decks by Theophilus Kibet

Other Decks in Programming