Skip to content

Commit

Permalink
chore: bump aerogel to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
derklaro committed Jan 29, 2023
1 parent 2f19fbd commit e3b4bff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ record DefaultInjectionLayer<I extends Injector>(
@NonNull Consumer<InjectionContext.Builder> builder
) {
// get the binding associated with the given type & construct a context builder
var binding = this.injector.binding(type);
var contextBuilder = InjectionContext.builder(type, binding.provider());
var element = Element.forType(type);
var binding = this.injector.binding(element);
var contextBuilder = InjectionContext.builder(type, binding.provider(element));

// apply the builder decorator to the builder
builder.accept(contextBuilder);
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ oshi = "6.4.0"
sshj = "0.34.0"
jjwt = "0.11.5"
slf4j = "1.7.36"
aerogel = "2.0.0"
caffeine = "3.1.2"
awsSdk = "2.19.26"
reflexion = "1.8.0"
Expand All @@ -52,7 +53,6 @@ annotations = "24.0.0"
influxClient = "6.7.0"
netty = "5.0.0.Alpha5"
gulf = "1.0.0-SNAPSHOT"
aerogel = "2.0.0-SNAPSHOT"

# platform api versions
sponge = "9.0.0"
Expand Down

0 comments on commit e3b4bff

Please sign in to comment.