mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 14:38:53 +00:00
40 lines
1.0 KiB
Groovy
40 lines
1.0 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven { url 'https://maven.fabricmc.net/' }
|
|
maven { url 'https://maven.architectury.dev/' }
|
|
maven { url 'https://maven.minecraftforge.net' }
|
|
maven { url 'https://repo.essential.gg/repository/maven-public' }
|
|
}
|
|
|
|
plugins {
|
|
def egtVersion = "0.6.5"
|
|
id("gg.essential.defaults") version egtVersion
|
|
id("gg.essential.multi-version.root") version egtVersion
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'HuskHomes'
|
|
include(
|
|
'common',
|
|
|
|
// Paper/Spigot
|
|
'bukkit',
|
|
'paper',
|
|
)
|
|
|
|
|
|
// Fabric
|
|
include("fabric")
|
|
project(":fabric").with {
|
|
projectDir = file("fabric/")
|
|
buildFileName = "root.gradle"
|
|
}
|
|
|
|
file('fabric').listFiles((FileFilter) ((File file) -> file.isDirectory() && file.name ==~ /(\d+)\.(\d+)(\.(\d+))?/)).each {
|
|
include("fabric:$it.name")
|
|
project(":fabric:$it.name").with {
|
|
projectDir = file("fabric/${it.name}")
|
|
buildFileName = '../build.gradle'
|
|
}
|
|
} |