Change default run configs to generate with a uuid and username

This commit is contained in:
apion
2024-04-27 13:05:44 -04:00
parent 9648a91f4a
commit dda004a66c
@@ -1,3 +1,6 @@
import gradle.kotlin.dsl.accessors._56d0f1caa5d9b078747b452e7c6e7f8d.shadowJar
import net.fabricmc.loom.util.srg.CoreModClassRemapper.remapJar
plugins {
id("cobblemon.base-conventions")
id("com.github.johnrengelman.shadow")
@@ -9,8 +12,13 @@ val bundle: Configuration by configurations.creating {
}
loom {
runConfigs.getByName("client").runDir = "runClient"
runConfigs.getByName("server").runDir = "runServer"
val clientConfig = runConfigs.getByName("client")
clientConfig.runDir = "runClient"
clientConfig.programArg("--username=CobblemonDev")
//This is AshKetchum's UUID so you get an Ash Ketchum skin
clientConfig.programArg("--uuid=93e4e551-589a-41cb-ab2d-435266c8e035")
val serverConfig = runConfigs.getByName("server")
serverConfig.runDir = "runServer"
}
tasks {