cf metadata: mark fabric api as optional

This commit is contained in:
creeper123123321 2021-05-04 18:14:54 -03:00 committed by GitHub
parent 04631ddc18
commit 7eddd53cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,8 +300,8 @@ curseforge {
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) { mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) {
displayName = "[${getBranch()}] ViaFabric " + rootProject.version displayName = "[${getBranch()}] ViaFabric " + rootProject.version
relations { relations {
requiredDependency("fabric-api") optionalDependency("fabric-api")
requiredDependency("legacy-fabric-api") optionalDependency("legacy-fabric-api")
optionalDependency("cotton-client-commands") optionalDependency("cotton-client-commands")
} }
} }