mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Fix wall of warnings when compiling fabric module (loom moment)
This commit is contained in:
1 file changed
+6
@@ -30,6 +30,12 @@ dependencies {
|
|||||||
|
|
||||||
modImplementation(libs.cloudFabric)
|
modImplementation(libs.cloudFabric)
|
||||||
include(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)
|
modImplementation(libs.adventurePlatformFabric)
|
||||||
include(libs.adventurePlatformFabric)
|
include(libs.adventurePlatformFabric)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user