mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +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))
|
||||
}
|
||||
|
||||
exclude("org.checkerframework", "checker-qual")
|
||||
exclude("org.slf4j", "slf4j-api")
|
||||
exclude("com.google.errorprone", "error_prone_annotations")
|
||||
exclude("io.leangen.geantyref", "geantyref")
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -93,3 +93,7 @@ carbonPermission.permissions.get().forEach {
|
||||
modrinth {
|
||||
loaders.addAll("paper", "folia")
|
||||
}
|
||||
|
||||
configurations.runtimeDownload {
|
||||
exclude("org.checkerframework", "checker-qual")
|
||||
}
|
||||
@@ -55,3 +55,7 @@ tasks {
|
||||
modrinth {
|
||||
optional.project("unsignedvelocity")
|
||||
}
|
||||
|
||||
configurations.runtimeDownload {
|
||||
exclude("org.checkerframework", "checker-qual")
|
||||
}
|
||||
Reference in new issue
Block a user