fabric: include checker at runtime

This commit is contained in:
Jason Penilla committed 2023-09-18 16:41:04 -07:00
1 parent 9b9a6f25a4
commit b669a3b5b0
4 files changed
+11 -1

No files matched your search

@@ -12,7 +12,6 @@ val runtimeDownload: Configuration by configurations.creating {
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
}
exclude("org.checkerframework", "checker-qual")
exclude("org.slf4j", "slf4j-api")
exclude("com.google.errorprone", "error_prone_annotations")
exclude("io.leangen.geantyref", "geantyref")
+3
View File
@@ -45,6 +45,7 @@ dependencies {
runtimeDownload(libs.guice) {
exclude("com.google.guava")
}
runtimeDownload(libs.checkerQual)
}
carbonPlatform {
@@ -57,10 +58,12 @@ tasks {
relocateDependency("cloud.commandframework.minecraft.extras")
standardRuntimeRelocations()
relocateGuice()
relocateDependency("org.checkerframework")
}
writeDependencies {
standardRuntimeRelocations()
relocateGuice()
relocateDependency("org.checkerframework")
}
processResources {
replace("fabric.mod.json", mapOf(
+4
View File
@@ -93,3 +93,7 @@ carbonPermission.permissions.get().forEach {
modrinth {
loaders.addAll("paper", "folia")
}
configurations.runtimeDownload {
exclude("org.checkerframework", "checker-qual")
}
+4
View File
@@ -55,3 +55,7 @@ tasks {
modrinth {
optional.project("unsignedvelocity")
}
configurations.runtimeDownload {
exclude("org.checkerframework", "checker-qual")
}