Skip to content

Releases: jbock-java/simple-component

1.024

Choose a tag to compare

@h908714124 h908714124 released this 25 Dec 18:50
52dfef8
  • add modules
  • allow @Inject instead of @Provides (equivalent)

1.023

Choose a tag to compare

@h908714124 h908714124 released this 13 Dec 16:16
  • 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

Choose a tag to compare

@h908714124 h908714124 released this 08 Dec 07:41
f0fdbc5
  • mockBuilder not generated by default
  • add @Component(mockBuilder = true) to generate mockBuilder
  • fix mock builder impl

1.018

Choose a tag to compare

@h908714124 h908714124 released this 03 Dec 14:08
7cd9740

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

Choose a tag to compare

@h908714124 h908714124 released this 01 Dec 07:43
8b10d6a
  • add mockBuilder method

1.015

Choose a tag to compare

@h908714124 h908714124 released this 27 May 20:16
  • generate public factory and builder method when component is public

1.014

Choose a tag to compare

@h908714124 h908714124 released this 02 May 06:23
  • add @Component.Builder

1.013

Choose a tag to compare

@h908714124 h908714124 released this 02 May 06:23
  • fix provider cycle
  • source retention for @Component and @Provides

1.012

Choose a tag to compare

@h908714124 h908714124 released this 26 Feb 16:58
  • fixes #3

1.011

Choose a tag to compare

@h908714124 h908714124 released this 26 Feb 16:57
  • print dependency trace for missing binding