Anvil is a Kotlin compiler plugin to make dependency injection with Dagger easier by automatically merging Dagger modules and component interfaces. In a nutshell, instead of manually adding modules to a Dagger component and making the Dagger component extend all component interfaces, these modules and interfaces can be included in a component automatically.
Features
- The plugin consists of a Gradle plugin and Kotlin compiler plugin
- The Gradle plugin automatically adds the Kotlin compiler plugin and annotation dependencies
- It needs to be applied in all modules that either contribute classes to the dependency graph or merge them
- Documentation available
- Examples available
- Dagger modules and component interfaces can be excluded in two different levels
Categories
LibrariesLicense
Apache License V2.0Follow Anvil
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Anvil!