Dave Syer
4100b6b471
Attempt simpler creds for Maven release
2024-07-12 16:58:18 +01:00
Dave Syer
28c77fc91d
Tweak Maven Central cred handling
2024-07-12 10:51:41 +01:00
Dave Syer
cf4ef671a9
Switch CI to Github for 2.0.x
2024-07-10 17:22:03 +01:00
Dave Syer
7c2115754a
Updated pipeline for new branch (broken)
2024-07-10 16:29:59 +01:00
Dave Syer
5dac92281e
Fix caches breaking CI builds
2023-11-22 08:59:05 +00:00
Dave Syer
1dbba0d411
Revert to snapshots
2023-10-09 15:21:19 +01:00
Dave Syer
50ffecb41e
Update to 2.0.4
2023-10-09 15:09:57 +01:00
Niklas Herder
1dda492d57
Allow multiple ModuleFilter implementations
2023-07-22 14:37:23 +01:00
Niklas Herder
b202e964a2
Allow filtering of modules before initialization
...
Alternative for #111
2023-07-22 14:37:23 +01:00
Dave Syer
b4048a24c0
Revert to snapshots
2023-05-25 12:06:53 +01:00
Dave Syer
14729f5aaa
Fixed pipeline for release
2023-05-25 12:00:04 +01:00
Dave Syer
c241c4e9fe
Update to 2.0.3
2023-05-24 16:05:27 +00:00
Asi Bross
69731bb179
Extract @Named value from a wrapped annotation
2023-05-23 18:26:49 +01:00
Dave Syer
6d3ed4aab2
Add equals for provider implementations
2023-02-07 10:55:17 +00:00
Dave Syer
340234ebbf
Switch to provider instead of autowired
2023-02-03 14:32:00 +00:00
Dave Syer
1726fa780a
Switch to supplier for one bean definition
2023-02-03 07:45:30 +00:00
Dave Syer
279c6674e2
Refactor deprecated ClassUtils usage
2023-02-02 15:08:17 +00:00
Dave Syer
cc030a7ccd
Change slack url
2023-01-16 13:26:10 +00:00
Dave Syer
696f60d102
Build with Spring 6.0.3
2023-01-16 11:37:08 +00:00
Dave Syer
e415436b35
Use different images
2023-01-16 11:34:09 +00:00
Dave Syer
966c1f8a76
Use older API
2023-01-16 11:31:12 +00:00
Dave Syer
f47746afbf
Update pipeline
2023-01-16 11:24:44 +00:00
Dave Syer
af09f5db7f
Add note to README about Spring 6
2023-01-16 11:02:54 +00:00
Dave Syer
0c5828a864
Check if it works with Spring 6
2023-01-16 11:00:03 +00:00
Dave Syer
f55cb56528
Fix pipeline
2023-01-16 09:24:27 +00:00
Dave Syer
04686d7d5b
Fix default branch name
2023-01-06 07:41:51 +00:00
Mehmet Mustafa Yilmaz
ce15b8e580
fix: Guice Cannot Inject Beans with Custom Annotations
...
SpringModule binds custom guice Providers for Spring managed beans so that Guice can inject beans from Spring Context.
Due to a bug in the Provider, Guice can only inject Spring beans that either don't have any qualifier annotations or only have Named annotation as a qualifier.
This fix enables Guice to inject beans with custom qualifier annotations as well.
Custom qualifier annotations do not need to be marker annotations (in other words, they can have attributes).
Other changes include:
Using factory method metadata of annotated bean definition rather than using custom code to retrieve factory method and its annotations
Added more test cases to validate various qualifier annotation scenarios.
2023-01-06 07:36:20 +00:00
Dave Syer
e133fee483
Add test for set binding autowire
...
Fixes #65
2022-10-06 10:08:57 +01:00
Dave Syer
c857318f73
Revert to snapshots
2022-09-23 12:45:04 +01:00
Dave Syer
48abeeab31
Update to 2.0.2
2022-09-23 12:44:26 +01:00
Dave Syer
393ca59830
Add license text
2022-09-23 11:49:19 +01:00
Danny Thomas
b363700e28
Address duplicate binding issues
...
- Deduplicate LinkedKeyBinding by key before falling back to the target key
- Rather than just dropping the Guice keys during deduplication, retains the original Guice key if possible. Otherwise bindings may fail to resolve, as is the case with map bindings
- Avoid duplicating beans for untargetted bindings
- Avoid duplicating multibindings
2022-09-23 11:35:13 +01:00
Dave Syer
365c6b9e9e
Revert to snapshot
2022-06-13 17:33:04 +01:00
Stacey Watro
27030e7a84
Increase version to 2.0.1.
2022-06-13 17:27:59 +01:00
Dave Syer
7163df7a22
Attempt to fix pipeline
2022-06-13 17:27:09 +01:00
Stacey Watro
e39d980efb
Always use the Named key when looking up a Guice object in the GuiceAutowireCandidateResolver.
2022-05-25 18:37:08 +01:00
Stacey Watro
dc7dc52931
Remove use of Optional.
2022-05-17 10:22:05 +01:00
Stacey Watro
9d163233f7
Allow Named Guice components to be used in Spring when using partial injection.
2022-05-17 10:22:05 +01:00
Michaël REMOND
43277ab746
Support Guice throwing providers
...
Support Guice throwing providers by filtering the bindings using
the Guice com.google.inject.internal.UniqueAnnotations
Add test
2022-03-21 17:30:35 +00:00
Dave Syer
ee7284a830
Add GH action for checking PRs
2022-03-21 17:29:00 +00:00
Dave Syer
d96d2dcc2f
Revert to snapshot
2022-03-21 09:25:56 +00:00
Dave Syer
b4ed4df747
Update for release 2.0.0
2022-03-21 09:07:13 +00:00
Dave Syer
c3b97c039a
Adjust naming convention for releases
2022-03-21 09:06:24 +00:00
Dave Syer
fbd1d70ee6
Change INFO to DEBUG log level for lazy init proxy
...
It seems like too much information to log this for every lazy
init proxy.
2022-03-21 08:55:57 +00:00
Dave Syer
e71d6aca56
Use static factory methods and proxyBeanMethods = false
...
It is better to be explicit about beans of type `Module` and make
sure they don't interfere with Spring trying to enhance
`@Configuration` classes. The tests are now clear of the pesky
warning logs, and there is a new section in the README.
2022-03-21 08:41:05 +00:00
Dave Syer
c22fb6a976
Drop BUILD prefix in snapshot label
2022-03-20 16:32:42 +00:00
Simon DeMartini
2722841925
Convert JUnit assertions to AssertJ to match spring-javaformat checkstyle rules
2022-03-20 16:29:28 +00:00
Simon DeMartini
99d7a7a268
Upgrade to JUnit 5
2022-03-20 16:29:28 +00:00
Simon DeMartini
b6c44a1436
Use explicit maven plugin versions to reduce some maven warnings
2022-03-20 10:41:01 +00:00
Simon DeMartini
57c54fad2f
Add and enforce spring checkstyle configurations
2022-03-20 10:40:10 +00:00