mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
build: use multi-version for fabric 1.21.1/4
This commit is contained in:
1 parent
c31a382093
commit
23fc30cf84
22 files changed
+198
-63
No files matched your search
+25
-3
@@ -2,6 +2,15 @@ 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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +21,20 @@ include(
|
||||
// Paper/Spigot
|
||||
'bukkit',
|
||||
'paper',
|
||||
)
|
||||
|
||||
// Fabric
|
||||
'fabric',
|
||||
)
|
||||
|
||||
// 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'
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user