mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-12-06 14:28:05 +00:00
- Update to Loom 1.12. This requires Java 21, so we now build with Java 21, but targetting 17. The new "-release" flag does make this much easier, so hopefully shouldn't cause too many issues. - Bump versions of a lot of other things. - Fix various errorprone/checkstyle grumbles.
56 lines
1.2 KiB
Kotlin
56 lines
1.2 KiB
Kotlin
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
//
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
pluginManagement {
|
|
// Duplicated in buildSrc/build.gradle.kts
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
|
|
maven("https://maven.neoforged.net") {
|
|
name = "NeoForge"
|
|
content {
|
|
includeGroup("net.neoforged")
|
|
}
|
|
}
|
|
|
|
maven("https://maven.fabricmc.net/") {
|
|
name = "Fabric"
|
|
content {
|
|
includeGroup("fabric-loom")
|
|
includeGroup("net.fabricmc")
|
|
includeGroup("net.fabricmc.unpick")
|
|
}
|
|
}
|
|
|
|
maven("https://maven.squiddev.cc") {
|
|
name = "SquidDev"
|
|
content {
|
|
includeGroup("cc.tweaked.vanilla-extract")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
val mcVersion: String by settings
|
|
rootProject.name = "cc-tweaked-$mcVersion"
|
|
|
|
include(":core-api")
|
|
include(":core")
|
|
|
|
include(":common-api")
|
|
include(":common")
|
|
include(":fabric-api")
|
|
include(":fabric")
|
|
include(":forge-api")
|
|
include(":forge")
|
|
|
|
include(":lints")
|
|
include(":standalone")
|
|
include(":web")
|
|
|
|
for (project in rootProject.children) {
|
|
project.projectDir = file("projects/${project.name}")
|
|
}
|