Import all versions (#8)

* Import all versions

* Prepare first workflow

* Cleanup build scripts

* More cleanup

* Cleanup more stuff and 1.7 on server

* Run multiple tasks in parallel

* Use version in job name

* Error on missing files

* Backport EULA mixin

* Update upload artifact

* Prevent build getting stuck

* Cleanup code

* More code cleanup

* Update build.yml

* Fix compilation

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
This commit is contained in:
Alex
2023-12-31 20:25:13 +01:00
committed by GitHub
co-authored by Romain Beaumont
parent 5441b07c50
commit a48fb9912d
556 changed files with 30777 additions and 814 deletions
+31
View File
@@ -0,0 +1,31 @@
plugins {
id 'fabric-loom'
}
dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
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}"
}
processResources {
filteringCharset "UTF-8"
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}