2023-03-15 21:52:13 +00:00
|
|
|
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-06-19 10:21:41 +00:00
|
|
|
pluginManagement {
|
2022-11-10 19:32:13 +00:00
|
|
|
// Duplicated in buildSrc/build.gradle.kts
|
2022-06-19 10:21:41 +00:00
|
|
|
repositories {
|
2022-11-10 19:32:13 +00:00
|
|
|
mavenCentral()
|
2022-06-19 10:21:41 +00:00
|
|
|
gradlePluginPortal()
|
2022-11-10 19:32:13 +00:00
|
|
|
|
|
|
|
maven("https://maven.minecraftforge.net") {
|
|
|
|
name = "Forge"
|
|
|
|
content {
|
|
|
|
includeGroup("net.minecraftforge")
|
|
|
|
includeGroup("net.minecraftforge.gradle")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
maven("https://maven.parchmentmc.org") {
|
|
|
|
name = "Librarian"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex("^org\\.parchmentmc.*")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
maven("https://repo.spongepowered.org/repository/maven-public/") {
|
|
|
|
name = "Sponge"
|
|
|
|
content {
|
|
|
|
includeGroup("org.spongepowered")
|
|
|
|
includeGroup("org.spongepowered.gradle.vanilla")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
maven("https://maven.fabricmc.net/") {
|
|
|
|
name = "Fabric"
|
|
|
|
content {
|
|
|
|
includeGroup("fabric-loom")
|
|
|
|
includeGroup("net.fabricmc")
|
|
|
|
}
|
|
|
|
}
|
2022-06-19 10:21:41 +00:00
|
|
|
}
|
2022-11-10 19:32:13 +00:00
|
|
|
|
2022-06-19 10:21:41 +00:00
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
if (requested.id.id == "org.spongepowered.mixin") {
|
|
|
|
useModule("org.spongepowered:mixingradle:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-22 20:09:08 +00:00
|
|
|
val mcVersion: String by settings
|
|
|
|
rootProject.name = "cc-tweaked-$mcVersion"
|
2022-11-04 21:41:59 +00:00
|
|
|
|
|
|
|
include(":core-api")
|
2022-11-04 22:31:56 +00:00
|
|
|
include(":core")
|
2022-11-06 15:07:13 +00:00
|
|
|
|
|
|
|
include(":common-api")
|
2022-11-09 23:58:56 +00:00
|
|
|
include(":common")
|
2022-11-10 19:32:13 +00:00
|
|
|
include(":fabric-api")
|
|
|
|
include(":fabric")
|
2022-11-06 15:07:13 +00:00
|
|
|
include(":forge-api")
|
2022-11-09 23:58:56 +00:00
|
|
|
include(":forge")
|
2022-11-06 15:07:13 +00:00
|
|
|
|
2022-11-09 18:58:31 +00:00
|
|
|
include(":lints")
|
2022-11-06 13:37:07 +00:00
|
|
|
include(":web")
|
2022-11-04 21:41:59 +00:00
|
|
|
|
|
|
|
for (project in rootProject.children) {
|
|
|
|
project.projectDir = file("projects/${project.name}")
|
|
|
|
}
|