mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
31 lines
767 B
Groovy
31 lines
767 B
Groovy
pluginManagement {
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven { url = 'https://maven.minecraftforge.net/' }
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
|
|
}
|
|
|
|
//enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS'
|
|
|
|
dependencyResolutionManagement.versionCatalogs {
|
|
register('bootLibs') {
|
|
description = 'Important version numbers that are externally declared for easy modification.'
|
|
from(files('../minecraft.versions.toml'))
|
|
}
|
|
|
|
create('libs') {
|
|
description = 'Libraries used by Forge and its subprojects.'
|
|
from(files("../gradle/libs.versions.toml"))
|
|
}
|
|
}
|
|
|
|
if (new File('forgedev/settings.gradle').exists())
|
|
includeBuild '../forgedev'
|
|
|