pluginManagement { repositories { maven { name = 'Fabric' url = 'https://maven.fabricmc.net/' } gradlePluginPortal() mavenLocal() } } // This check is done here before any plugins that may require java 11 are able to load. if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) { throw new UnsupportedOperationException("Yarn's buildscript requires Java 11 or higher.") } rootProject.name = "yarn"