Create get from simibubi

This commit is contained in:
BitHeaven 2024-03-12 12:08:13 +05:00
parent 8f01df0971
commit b749efbbac
1 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ targetCompatibility = JavaVersion.VERSION_17
archivesBaseName = project.archives_base_name
group = project.maven_group
String buildNumber = 16 //System.getenv("GITEA_RUN_NUMBER")
String buildNumber = System.getenv("GITEA_RUN_NUMBER")
version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "")
repositories {
@ -58,14 +58,14 @@ dependencies {
modImplementation("net.fabricmc.fabric-api:fabric-api:${fabric_api_version}")
// Create - dependencies are added transitively
// modImplementation("com.simibubi.create:create-fabric-${minecraft_version}:${create_version}")
modImplementation("maven.modrinth:create-fabric:${create_version}")
modImplementation("com.simibubi.create:create-fabric-${minecraft_version}:${create_version}")
// Thin Air
modImplementation("maven.modrinth:thin-air:${thinair_version}")
// Ad Astra
modImplementation("maven.modrinth:ad-astra:${adastra_version}")
modImplementation("maven.modrinth:botarium:${botarium_version}")
// Development QOL
modLocalRuntime("maven.modrinth:lazydfu:${lazydfu_version}")
@ -88,7 +88,7 @@ processResources {
properties.put("version", version)
properties.put("fabric_loader_version", fabric_loader_version)
properties.put("fabric_api_version", fabric_api_version)
properties.put("create_version", create_version)
properties.put("create_version", "~" + create_version.split("-")[0] + "-" + create_version.split("-")[1])
properties.put("minecraft_version", minecraft_version)
properties.forEach((k, v) -> inputs.property(k, v))