diff --git a/build.gradle b/build.gradle index 9db9f08..cd2ea77 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.4-SNAPSHOT' + id 'fabric-loom' version '1.5-SNAPSHOT' id 'maven-publish' } @@ -11,12 +11,6 @@ base { } 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. - mavenCentral() } @@ -32,24 +26,15 @@ loom { } dependencies { - // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings loom.officialMojangMappings() modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" - - // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - implementation(include("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.16.1")) implementation(include("com.fasterxml.jackson.core:jackson-core:2.16.1")) implementation(include("com.fasterxml.jackson.core:jackson-databind:2.16.1")) implementation(include("com.fasterxml.jackson.core:jackson-annotations:2.16.1")) implementation(include("org.yaml:snakeyaml:2.2")) - - // Uncomment the following line to enable the deprecated Fabric API modules. - // These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time. - - // modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}" } processResources { @@ -65,9 +50,6 @@ tasks.withType(JavaCompile).configureEach { } java { - // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task - // if it is present. - // If you remove this line, sources will not be generated. withSourcesJar() sourceCompatibility = JavaVersion.VERSION_17 @@ -80,7 +62,6 @@ jar { } } -// configure the maven publication publishing { publications { mavenJava(MavenPublication) { @@ -95,4 +76,4 @@ publishing { // The repositories here will be used for publishing your artifact, not for // retrieving dependencies. } -} \ No newline at end of file +} diff --git a/gradle.properties b/gradle.properties index 52eb0c4..85e407e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,9 +4,9 @@ org.gradle.parallel=true # Fabric Properties # check these on https://fabricmc.net/develop -minecraft_version=1.20.2 -yarn_mappings=1.20.2+build.4 -loader_version=0.15.3 +minecraft_version=1.20.4 +yarn_mappings=1.20.4+build.3 +loader_version=0.15.7 # Mod Properties mod_version=1.0.0 @@ -14,4 +14,4 @@ maven_group=xyz.devcomp archives_base_name=stinky # Dependencies -fabric_version=0.91.2+1.20.2 \ No newline at end of file +fabric_version=0.96.11+1.20.4