mirror of https://github.com/FabricMC/yarn.git
21 lines
506 B
Groovy
21 lines
506 B
Groovy
pluginManagement {
|
|
repositories {
|
|
maven {
|
|
name = 'Fabric'
|
|
url = 'https://maven.fabricmc.net/'
|
|
}
|
|
gradlePluginPortal()
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
// This check is done here before any plugins that may require java 17 are able to load.
|
|
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
|
|
throw new UnsupportedOperationException("Yarn's buildscript requires Java 17 or higher.")
|
|
}
|
|
|
|
enableFeaturePreview "STABLE_CONFIGURATION_CACHE"
|
|
|
|
rootProject.name = "yarn"
|
|
|
|
includeBuild 'filament' |