2021-04-09 15:05:41 -04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2023-03-25 13:43:54 -04:00
|
|
|
enableFeaturePreview "STABLE_CONFIGURATION_CACHE"
|
|
|
|
|
2022-09-19 13:18:02 -04:00
|
|
|
rootProject.name = "yarn"
|
|
|
|
|
|
|
|
includeBuild 'filament'
|