Converting Gradle convention plugins to binary plugins

Introduction Gradle’s convention plugins are a powerful feature that allow creating simple, reusable Gradle plugins that can be used across your multi-module projects to ensure all modules of a certain type are configured the same way. As an example, if you want to enforce that none of your Android library projects contain a BuildConfig class then the convention plugin for it could look something like this: com.example.android-library.gradle.kts plugins { id("com....

April 17, 2022 · 5 min