mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-07-01 11:15:10 +02:00
hope this works
This commit is contained in:
parent
3388885b1b
commit
cac25115ab
|
@ -97,10 +97,10 @@ curseforge {
|
||||||
mainArtifact(file("${project.buildDir}/libs/${project.base.archivesBaseName}-${project.version}.jar"), closureOf<com.matthewprenger.cursegradle.CurseArtifact> {
|
mainArtifact(file("${project.buildDir}/libs/${project.base.archivesBaseName}-${project.version}.jar"), closureOf<com.matthewprenger.cursegradle.CurseArtifact> {
|
||||||
relations(closureOf<com.matthewprenger.cursegradle.CurseRelation> {
|
relations(closureOf<com.matthewprenger.cursegradle.CurseRelation> {
|
||||||
if (branch == "mc-1.8") {
|
if (branch == "mc-1.8") {
|
||||||
requiredDependency("400281") // Legacy Fabric API
|
requiredDependency("legacy-fabric-api")
|
||||||
} else {
|
} else {
|
||||||
requiredDependency("306612") // Fabric API
|
requiredDependency("fabric-api")
|
||||||
embeddedLibrary("323986") // Cotton Client Commands
|
embeddedLibrary("cotton-client-commands")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
displayName = "[$branch] ViaFabric ${project.version}"
|
displayName = "[$branch] ViaFabric ${project.version}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user