version number upgrade

This commit is contained in:
Jörg Henke 2021-07-07 15:03:04 +02:00
parent 808894c285
commit cbcf128f3d
5 changed files with 15 additions and 11 deletions

View File

@ -1,10 +1,10 @@
plugins { plugins {
id 'fabric-loom' version '0.6-SNAPSHOT' id 'fabric-loom' version '0.8-SNAPSHOT'
id 'maven-publish' id 'maven-publish'
} }
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_16
archivesBaseName = project.archives_base_name archivesBaseName = project.archives_base_name
version = project.mod_version version = project.mod_version
@ -41,6 +41,7 @@ processResources {
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.encoding = "UTF-8" options.encoding = "UTF-8"
it.options.release = 16
} }
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
@ -52,7 +53,9 @@ task sourcesJar(type: Jar, dependsOn: classes) {
} }
jar { jar {
from "LICENSE" from("LICENSE") {
rename { "${it}_${project.archivesBaseName}" }
}
} }
// configure the maven publication // configure the maven publication

View File

@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=21w13a minecraft_version=1.17
yarn_mappings=21w13a+build.51 yarn_mappings=1.17+build.13
loader_version=0.11.3 loader_version=0.11.3
# Mod Properties # Mod Properties
@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
# Dependencies # Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.32.6+1.17 fabric_version=0.36.0.+1.17

View File

@ -171,7 +171,7 @@ public class RegistryManager {
BlockEntityType<? extends T> blockEntityType = builder.build(null); BlockEntityType<? extends T> blockEntityType = builder.build(null);
return Registry.register(Registry.BLOCK_ENTITY_TYPE, fullname, blockEntityType); return Registry.register(Registry.BLOCK_ENTITY_TYPE, fullname, blockEntityType);
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public static final void registerBlockEntities() { public static final void registerBlockEntities() {
LOGGER.debug("registering quickiefabric block entities"); LOGGER.debug("registering quickiefabric block entities");

View File

@ -26,9 +26,10 @@
"quickiefabric.mixins.json" "quickiefabric.mixins.json"
], ],
"depends": { "depends": {
"fabricloader": ">=0.7.4", "fabricloader": ">=0.11.3",
"fabric": "*", "fabric": "*",
"minecraft": "1.16.x" "minecraft": "1.17.x",
"java": ">=16"
}, },
"suggests": { "suggests": {
"flamingo": "*" "flamingo": "*"

View File

@ -2,7 +2,7 @@
"required": true, "required": true,
"minVersion": "0.8", "minVersion": "0.8",
"package": "de.jottyfan.minecraft.quickiefabric.mixin", "package": "de.jottyfan.minecraft.quickiefabric.mixin",
"compatibilityLevel": "JAVA_8", "compatibilityLevel": "JAVA_16",
"mixins": [ "mixins": [
"FeatureConfigMixin", "FeatureConfigMixin",
"BlockBreakMixin" "BlockBreakMixin"