Implement Guice and Moonshine (#139)

* Initial pass - 1/?

* oops

* War against legacy, part 1

* Stuff & Bukkit

* Sponge

* Initial pass - 1/?

* more guice

* Separate guice module out

* Fix broken rebase

* Hello from Carbon!

* stuff

* Move init to correct location

* Bukkit has moonshine!

* Minor adjustments

* Sponge guice part 1

* No turning back from this party

* fix relocations and exclusions

* Some cleanup with the Bukkit side of things, too

* Add comment explaining why we pass this argument

Co-authored-by: Riley Park <[email protected]>
Co-authored-by: jmp <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-05-21 04:04:41 -07:00
1 parent a213ed8d9f
commit 2582c30e84
38 files changed
+908 -129

No files matched your search

+6
View File
@@ -28,9 +28,15 @@ tasks {
shadowJar {
relocateDependency("io.papermc.lib")
relocateDependency("io.leangen.geantyref")
// Guice
relocateDependency("com.google.inject")
relocateDependency("org.aopalliance")
relocateDependency("javax.inject")
}
runServer {
minecraftVersion("1.16.5")
jvmArgs("-DLog4jContextSelector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector") // https://github.com/PaperMC/Paper/issues/4155
}
}