From b749efbbac0c2544edfa7b455099d1c45848fbac Mon Sep 17 00:00:00 2001 From: BitHeaven Date: Tue, 12 Mar 2024 12:08:13 +0500 Subject: [PATCH] Create get from simibubi --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 1a0cd8a..dc04240 100644 --- a/build.gradle +++ b/build.gradle @@ -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))