Skip to content

Commit

Permalink
Attempt to fix Forge dependency resolution issues
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Fireplace committed Jul 28, 2024
1 parent bc88232 commit cb1f03a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
Update to Guice 6.0.0
- Developers: Time to start migrating to jakarta.inject instead of javax.inject. javax.inject support will be completely dropped with Annotated DI 5.0.0 when we upgrade to Guice 7.0.0.

Minor annotation processor optimizations

Optimized injection speed

[1.20.6] Target Java 21 when annotation processing
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"

implementation 'com.google.code.findbugs:jsr305:3.0.2'
api("com.google.inject:guice:${project.guice_version}") {
implementation("com.google.inject:guice:${project.guice_version}") {
exclude(group: 'com.google.guava')
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ forge_update_json_url=https://api.modrinth.com/updates/annotated-di/forge_update
# Mod Properties
maven_group=dev.the-fireplace
archives_base_name=Annotated-DI
mod_version=4.0.4
mod_version=4.0.5
release_type=release
license_id=Apache-2.0
license_name=Apache License 2.0
Expand Down

0 comments on commit cb1f03a

Please sign in to comment.