Updated build.gradle to meet new conventions

This commit is contained in:
Adam Wojciak
2023-07-27 22:57:06 -04:00
parent ca1b40a4b8
commit 1e52bc8a70
2 changed files with 0 additions and 20 deletions

View File

@@ -9,29 +9,10 @@ group = project.maven_group
base { base {
archivesName = project.archives_base_name archivesName = project.archives_base_name
} }
repositories { repositories {
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven { url "https://api.modrinth.com/maven" } maven { url "https://api.modrinth.com/maven" }
} }
loom {
splitEnvironmentSourceSets()
mods {
"modid" {
sourceSet sourceSets.main
sourceSet sourceSets.client
}
}
}
dependencies { dependencies {
//to change the versions see the gradle.properties file //to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}" minecraft "com.mojang:minecraft:${project.minecraft_version}"

View File

@@ -6,7 +6,6 @@ import net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry;
import net.fabricmc.fabric.impl.client.rendering.ColorProviderRegistryImpl; import net.fabricmc.fabric.impl.client.rendering.ColorProviderRegistryImpl;
import net.minecraft.block.Blocks; import net.minecraft.block.Blocks;
import net.minecraft.world.biome.Biome; import net.minecraft.world.biome.Biome;
import net.minecraft.world.biome.BuiltinBiomes;
import java.util.Objects; import java.util.Objects;