Fix wall of warnings when compiling fabric module (loom moment)

This commit is contained in:
Jason Penilla committed 2023-01-08 14:45:51 -07:00
1 parent 99b5eb6e63
commit eaa0e75c84
1 file changed
+6
+6
View File
@@ -30,6 +30,12 @@ dependencies {
modImplementation(libs.cloudFabric)
include(libs.cloudFabric)
// loom doesn't properly copy non-mod transitive deps of mod
// dependencies (cloud in this case), so we need to manually
// add this dependency to avoid hundreds of compile warnings.
compileOnly("org.apiguardian:apiguardian-api:1.1.2")
modImplementation(libs.adventurePlatformFabric)
include(libs.adventurePlatformFabric)
}