Update to 1.20.4

This commit is contained in:
Li2424
2024-04-20 23:28:16 +02:00
parent 366bc058a5
commit dcfbdf2379
3 changed files with 16 additions and 13 deletions

View File

@@ -1,12 +1,8 @@
plugins {
id 'fabric-loom' version '0.12.+'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
@@ -14,6 +10,10 @@ repositories {
maven { url "https://api.modrinth.com/maven" }
}
base {
archivesName = project.archives_base_name
}
dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
@@ -46,6 +46,9 @@ tasks.withType(JavaCompile).configureEach {
// if it is present.
// If you remove this task, sources will not be generated.
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
}
@@ -56,7 +59,7 @@ jar {
// configure the maven publication
publishing {
publications {
mavenJava(MavenPublication) {
create("mavenJava", MavenPublication) {
from components.java
}
}