diff --git a/build.gradle.kts b/build.gradle.kts index ec55da5..533ca4b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ var loaderName: String = "neoforge" var javaVersion: String = property("java_version").toString() var minecraftVersion: String = property("minecraft_version").toString() var loaderVersion: String = property("${loaderName}_version").toString() +var parchmentVersion: String = property("parchment_version").toString() var modId: String = property("mod_id").toString() var modName: String = property("mod_name").toString() @@ -45,12 +46,13 @@ neoForge { runs { create("client") { client() + logLevel = org.slf4j.event.Level.DEBUG } } parchment { - minecraftVersion = property("minecraft_version").toString() - mappingsVersion = property("parchment_version").toString() + minecraftVersion + mappingsVersion = parchmentVersion } } diff --git a/gradle.properties b/gradle.properties index 065464f..2f6c001 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # Gradle Properties -org.gradle.jvmargs=-Xmx1G -org.gradle.daemon=false -org.gradle.debug=false +org.gradle.daemon=true +org.gradle.jvmargs=-Xmx4G +org.gradle.parallel=true # Environment Properties java_version=21 @@ -15,7 +15,7 @@ parchment_version=2024.07.28 ## Mod Properties mod_id=skintypefix mod_name=SkinTypeFix -mod_version=0.1.0-beta.6 +mod_version=0.1.0-beta.7 mod_license=GPL-3.0-or-later mod_description=Fix wrong skin type for some players. mod_authors=Puqns67 diff --git a/settings.gradle.kts b/settings.gradle.kts index f1d1330..4cc6198 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,8 +1,8 @@ pluginManagement { repositories { mavenLocal() - gradlePluginPortal() mavenCentral() + gradlePluginPortal() maven { name = "Neoforged" url = uri("https://maven.neoforged.net/releases")