Skip to content

Releases: jbock-java/simple-component

1.024

25 Dec 18:50
52dfef8
Compare
Choose a tag to compare
  • add modules
  • allow @Inject instead of @Provides (equivalent)

1.023

13 Dec 16:16
Compare
Choose a tag to compare
  • add withMocks method to generated builder
  • improve generated code in builder: fields access always referenced with this
  • improve setter names of mock-builder

1.020

08 Dec 07:41
f0fdbc5
Compare
Choose a tag to compare
  • mockBuilder not generated by default
  • add @Component(mockBuilder = true) to generate mockBuilder
  • fix mock builder impl

1.018

03 Dec 14:08
7cd9740
Compare
Choose a tag to compare

If defined in the same source file, allow static binding method to be a sibling of the class it provides.

For example: Consider a static binding method inside a nested class A:

class Outer {
  static class A {
    @Inject static A createA() { return new A(); }
  }
}

We can now choose to define createA directly in Outer:

class Outer {
  static class A {}
  @Inject static A createA() { return new A(); }
}

1.017

01 Dec 07:43
8b10d6a
Compare
Choose a tag to compare
  • add mockBuilder method

1.015

27 May 20:16
Compare
Choose a tag to compare
  • generate public factory and builder method when component is public

1.014

02 May 06:23
Compare
Choose a tag to compare
  • add @Component.Builder

1.013

02 May 06:23
Compare
Choose a tag to compare
  • fix provider cycle
  • source retention for @Component and @Provides

1.012

26 Feb 16:58
Compare
Choose a tag to compare
  • fixes #3

1.011

26 Feb 16:57
Compare
Choose a tag to compare
  • print dependency trace for missing binding