Skip to content

0.0.3

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Sep 21:39
· 76 commits to main since this release

Added

  • Added new artifact :runtime-optional, which provides access to @SingleIn, @ForScope and AppScope, see #16.
  • Added support for scopes with parameters, e.g. to support @SingleIn(AppScope::class) and @ContributesTo(AppScope::class), see #1.
  • Allow specifying custom contributing annotations via KSP option instead of using @ContributingAnnotation, see #24.

Changed

  • Updated the documentation and decided to recommend scope references as parameter to contribute and merge types. In other words: we prefer using the @SingleIn(SomeScope::class) annotation and explicitly declaring the scope on the @Contribute*(SomeScope::class) annotations. Support for the old way may go away, see #36.

Removed

  • Removed mingwX64() target, because kotlin-inject doesn't support it.