54 lines
1.4 KiB
Groovy
54 lines
1.4 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
maven {
|
|
name = 'Fabric'
|
|
url = 'https://maven.fabricmc.net/'
|
|
}
|
|
maven {
|
|
name = 'NeoForged'
|
|
url = 'https://maven.neoforged.net/releases/'
|
|
}
|
|
maven {
|
|
name = 'jmp'
|
|
url = 'https://repo.jpenilla.xyz/snapshots'
|
|
}
|
|
maven {
|
|
name = 'architectury'
|
|
url = 'https://maven.architectury.dev/'
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
|
id("quiet-fabric-loom") version "1.10.317" apply false
|
|
id("net.neoforged.moddev") version "2.0.80" apply false
|
|
id 'com.gradleup.shadow' version '8.3.6' apply false
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
maven {
|
|
name = 'Fabric'
|
|
url = 'https://maven.fabricmc.net/'
|
|
}
|
|
}
|
|
versionCatalogs {
|
|
create("fabricApiLibs") {
|
|
from("net.fabricmc.fabric-api:fabric-api-catalog:${fabric_api_version}")
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Moonrise"
|
|
|
|
include("fabric")
|
|
findProject(":fabric").name = "Moonrise-Fabric"
|
|
include("neoforge")
|
|
findProject(":neoforge").name = "Moonrise-NeoForge"
|
|
|
|
// includeBuild("../YamlConfig") // Uncomment to use local YamlConfig
|
|
// includeBuild("../ConcurrentUtil") // Uncomment to use local ConcurrentUtil
|