Closed liplum closed 1 year ago
It's pretty troublesome because foo's client doesn't have a good convention for version management. There is likely no stable way to retreive the jar file.
Since mgpp v1.1.1 Despite the unstable download convention of Foo's Client, this could work and you have got to configure it manually if it is changed.
client {
mindustry from GitHubLocation(
user = "mindustry-antigrief",
repo = "mindustry-client",
version = "v8.0.0",
release = "erekir-client.jar"
)
}
client {
from GitHubLocation(
user: 'mindustry-antigrief',
repo: 'mindustry-client',
version: 'v8.0.0',
release: 'erekir-client.jar'
)
}
I introuduced an easy way to add Foo's Client in 54f67c9
client {
mindustry from Foo(
version = "v8.0.0",
release = "erekir-client.jar"
)
}
client {
from Foo(
version: 'v8.0.0',
release: 'erekir-client.jar'
)
}
Since mgpp v2.0.0, you can use this in build.gradle(.kts)
to add a Foo's Client slot.
runMindustry {
addClient {
fooClient(tag = "v8.0.0", file = "erekir-client.jar")
}
}
runMindustry {
addClient {
fooClient tag: "v8.0.0", file: "erekir-client.jar"
}
}
Please support Foo's Client. Kinda like this, in build.gradle.kts