feat(minecraft): Update and Gradle changes for Minecraft 26.1

This commit is contained in:
2026-03-29 15:44:22 +02:00
parent 3add9da6d4
commit 14a2d1c3c2
30 changed files with 150 additions and 78 deletions

View File

@@ -49,7 +49,7 @@ abstract class MinecraftModComponentPlugin : Plugin<Project> {
attribute(Category.CATEGORY_ATTRIBUTE, objectFactory.named(Category.LIBRARY))
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objectFactory.named(LibraryElements.JAR))
attribute(Bundling.BUNDLING_ATTRIBUTE, objectFactory.named(Bundling.EXTERNAL))
attribute(Usage.USAGE_ATTRIBUTE, objectFactory.named(Usage.JAVA_RUNTIME))
attribute(Usage.USAGE_ATTRIBUTE, objectFactory.named(Usage.JAVA_API))
project.afterEvaluate {
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, targetJvmVersion.get().toInt())