Skip to content

1.0.0-alpha15

Choose a tag to compare

@dkostyrev dkostyrev released this 28 Jul 14:28
· 104 commits to develop since this release

This release brings support for new Android Gradle Plugin Variant API for bytecode transformation, instead of deprecated Transform API and fixes several issues for multi-module usage:

  • Lightsaber checks that @ImportedBy and @ProvidedBy annotations specify containers (Module, Component or ContractConfiguration) that belong to current inputs.
  • Lightsaber verifies that @ProvidedBy annotation actually specifies a container, rather than an arbitrary class.
  • Lightsaber analyses separate @Modules just like other containers. This way Lightsaber will account for @Modules that are not imported by any @Component or ContractConfiguration.
  • Lightsaber no longer generates providers, factories and contracts for entities that do not belong to current inputs.