yarn/settings.gradle

17 lines
430 B
Groovy
Raw Normal View History

pluginManagement {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
gradlePluginPortal()
mavenLocal()
}
}
2021-11-16 13:18:51 -05:00
// This check is done here before any plugins that may require java 17 are able to load.
2021-10-27 15:07:08 -04:00
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
2021-11-16 13:18:51 -05:00
throw new UnsupportedOperationException("Yarn's buildscript requires Java 17 or higher.")
2021-10-27 15:07:08 -04:00
}
rootProject.name = "yarn"