mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
fabric: include checker at runtime
This commit is contained in:
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))
|
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
|
||||||
}
|
}
|
||||||
|
|
||||||
exclude("org.checkerframework", "checker-qual")
|
|
||||||
exclude("org.slf4j", "slf4j-api")
|
exclude("org.slf4j", "slf4j-api")
|
||||||
exclude("com.google.errorprone", "error_prone_annotations")
|
exclude("com.google.errorprone", "error_prone_annotations")
|
||||||
exclude("io.leangen.geantyref", "geantyref")
|
exclude("io.leangen.geantyref", "geantyref")
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ dependencies {
|
|||||||
runtimeDownload(libs.guice) {
|
runtimeDownload(libs.guice) {
|
||||||
exclude("com.google.guava")
|
exclude("com.google.guava")
|
||||||
}
|
}
|
||||||
|
runtimeDownload(libs.checkerQual)
|
||||||
}
|
}
|
||||||
|
|
||||||
carbonPlatform {
|
carbonPlatform {
|
||||||
@@ -57,10 +58,12 @@ tasks {
|
|||||||
relocateDependency("cloud.commandframework.minecraft.extras")
|
relocateDependency("cloud.commandframework.minecraft.extras")
|
||||||
standardRuntimeRelocations()
|
standardRuntimeRelocations()
|
||||||
relocateGuice()
|
relocateGuice()
|
||||||
|
relocateDependency("org.checkerframework")
|
||||||
}
|
}
|
||||||
writeDependencies {
|
writeDependencies {
|
||||||
standardRuntimeRelocations()
|
standardRuntimeRelocations()
|
||||||
relocateGuice()
|
relocateGuice()
|
||||||
|
relocateDependency("org.checkerframework")
|
||||||
}
|
}
|
||||||
processResources {
|
processResources {
|
||||||
replace("fabric.mod.json", mapOf(
|
replace("fabric.mod.json", mapOf(
|
||||||
|
|||||||
@@ -93,3 +93,7 @@ carbonPermission.permissions.get().forEach {
|
|||||||
modrinth {
|
modrinth {
|
||||||
loaders.addAll("paper", "folia")
|
loaders.addAll("paper", "folia")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configurations.runtimeDownload {
|
||||||
|
exclude("org.checkerframework", "checker-qual")
|
||||||
|
}
|
||||||
@@ -55,3 +55,7 @@ tasks {
|
|||||||
modrinth {
|
modrinth {
|
||||||
optional.project("unsignedvelocity")
|
optional.project("unsignedvelocity")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configurations.runtimeDownload {
|
||||||
|
exclude("org.checkerframework", "checker-qual")
|
||||||
|
}
|
||||||
Reference in new issue
Block a user