Minor updates, still no luck
This commit is contained in:
parent
069e6869a1
commit
95dc259c48
24
build.gradle
24
build.gradle
|
@ -1,16 +1,18 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "architectury-plugin" version "1.3.44"
|
id "architectury-plugin" version "1.3.54"
|
||||||
id "forgified-fabric-loom" version "0.5.25" apply false
|
id "forgified-fabric-loom" version "0.6.45" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
architect {
|
architectury {
|
||||||
minecraft = rootProject.minecraft_version
|
minecraft = rootProject.minecraft_version
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply plugin: "forgified-fabric-loom"
|
apply plugin: "forgified-fabric-loom"
|
||||||
apply plugin: "architectury-plugin"
|
|
||||||
|
|
||||||
|
loom {
|
||||||
|
silentMojangMappingsLicense()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
@ -23,5 +25,17 @@ allprojects {
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
|
|
||||||
|
// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too
|
||||||
|
// 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()) {
|
||||||
|
options.release = 8
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
java {
|
||||||
|
withSourcesJar()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -21,12 +21,12 @@ architectury {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
|
minecraft("com.mojang:minecraft:${rootProject.minecraft_version}")
|
||||||
mappings("net.fabricmc:yarn:${rootProject.yarn_mappings}:v2")
|
mappings("net.fabricmc:yarn:${rootProject.yarn_mappings}:v2")
|
||||||
modImplementation "net.fabricmc:fabric-loader:${rootProject.loader_version}"
|
modImplementation("net.fabricmc:fabric-loader:${rootProject.loader_version}")
|
||||||
|
modImplementation("net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_version}")
|
||||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
// Remove the next line if you don't want to depend on the API
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_version}"
|
modImplementation("me.shedaniel:architectury:${rootProject.architectury_version}:fabric")
|
||||||
|
|
||||||
compileOnly(project(path: ":common")) {
|
compileOnly(project(path: ":common")) {
|
||||||
transitive = false
|
transitive = false
|
||||||
|
@ -64,5 +64,5 @@ shadowJar {
|
||||||
remapJar {
|
remapJar {
|
||||||
dependsOn(shadowJar)
|
dependsOn(shadowJar)
|
||||||
input.set(shadowJar.archivePath)
|
input.set(shadowJar.archivePath)
|
||||||
archiveClassifier = "fabric"
|
classifier "fabric"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"description": "Example Mod",
|
"description": "SimpleAuth",
|
||||||
"pack_format": 6
|
"pack_format": 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
|
|
||||||
# Fabric properties
|
# Fabric properties
|
||||||
minecraft_version=1.16.4
|
minecraft_version=1.16.5
|
||||||
yarn_mappings=1.16.4+build.7
|
yarn_mappings=1.16.5+build.1
|
||||||
loader_version=0.10.8
|
loader_version=0.11.1
|
||||||
|
|
||||||
#Fabric api
|
#Fabric api
|
||||||
fabric_version=0.28.0+1.16
|
fabric_version=0.29.3+1.16
|
||||||
|
|
||||||
# Forge
|
# Forge
|
||||||
forge_version = 35.1.0
|
forge_version=36.0.1
|
||||||
|
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
|
|
Loading…
Reference in New Issue