BUMP Version in config, update build.gradle from template

This commit is contained in:
Hiajen Hiajen 2022-09-22 13:00:01 +02:00
parent a31b01aa03
commit 2e08945054
2 changed files with 5 additions and 11 deletions

View file

@ -52,13 +52,7 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too. // If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8" it.options.encoding = "UTF-8"
// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too // Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
// JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used.
// We'll use that if it's available, but otherwise we'll use the older option.
//def targetVersion = 8
//if (JavaVersion.current().isJava9Compatible()) {
// it.options.release = targetVersion
//}
it.options.release = 17 it.options.release = 17
} }

View file

@ -4,14 +4,14 @@
"version": "${version}", "version": "${version}",
"name": "EAA Mod", "name": "EAA Mod",
"description": "This is an example description! Tell everyone what your mod is about!", "description": "Mod for keeping track of Players encountered in Minecraft servers. Especially hackers. Shows Hint in Playeroverview (Tab)",
"authors": [ "authors": [
"MPK1", "MPK1",
"Hiajen" "Hiajen"
], ],
"contact": { "contact": {
"homepage": "https://fabricmc.net/", "homepage": "https://git.hiajen.de/hiajen/EAA_MOD",
"sources": "https://github.com/FabricMC/fabric-example-mod" "sources": "https://git.hiajen.de/hiajen/EAA_MOD"
}, },
"license": "CC0-1.0", "license": "CC0-1.0",
@ -30,7 +30,7 @@
"depends": { "depends": {
"fabricloader": ">=0.7.4", "fabricloader": ">=0.7.4",
"fabric": "*", "fabric": "*",
"minecraft": "1.16.x" "minecraft": "1.19.x"
}, },
"suggests": { "suggests": {
"another-mod": "*" "another-mod": "*"