2022-05-31 10:50:46 -04:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
2022-09-24 14:05:47 -04:00
|
|
|
maven("https://maven.fabricmc.net/")
|
|
|
|
maven("https://maven.minecraftforge.net/")
|
|
|
|
maven("https://maven.architectury.dev/")
|
|
|
|
maven("https://repo.spongepowered.org/repository/maven-public/")
|
2022-05-31 10:50:46 -04:00
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
if (requested.id.id == "org.spongepowered.mixin") {
|
|
|
|
useModule("org.spongepowered:mixingradle:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-24 17:14:32 -04:00
|
|
|
val modName: String by extra
|
|
|
|
val minecraftVersion: String by extra
|
|
|
|
rootProject.name = "$modName-$minecraftVersion"
|
2022-05-31 10:50:46 -04:00
|
|
|
include("Common", "Fabric", "Forge")
|