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:
@@ -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}"
|
||||
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))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user