lots of stuff
This commit is contained in:
1 parent
ee9ac93b5e
commit
ea24b19068
5242 files changed
+336231
-112
No files matched your search
@@ -40,6 +40,7 @@ dependencies {
|
||||
modImplementation "software.bernie.geckolib:geckolib-fabric-1.21.1:${geckolib_version}"
|
||||
modCompileOnly("curse.maven:intapi-${intapi_curseforge_id}:${intapi_curseforge_file_id_fabric}")
|
||||
modLocalRuntime("curse.maven:intapi-${intapi_curseforge_id}:${intapi_curseforge_file_id_fabric}")
|
||||
modLocalRuntime("dev.architectury:architectury-fabric:${architectury_api_version}")
|
||||
compileOnly "mezz.jei:jei-1.21.1-common-api:${jei_version}"
|
||||
compileOnly "mezz.jei:jei-1.21.1-fabric-api:${jei_version}"
|
||||
modLocalRuntime "mezz.jei:jei-1.21.1-fabric:${jei_version}"
|
||||
@@ -100,6 +101,18 @@ tasks.named('processResources', ProcessResources).configure {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.matching { it.name in ["runClient", "runServer", "runDatagen"] }.configureEach {
|
||||
doFirst {
|
||||
def infinityConfigPrefix = "config/common/"
|
||||
zipTree(rootProject.file("infinite_dimensions_jars/infinity-2.7.2+1.21.1-fabric.jar")).visit { details ->
|
||||
if (!details.directory && details.relativePath.pathString.startsWith(infinityConfigPrefix)) {
|
||||
def targetPath = details.relativePath.pathString.substring(infinityConfigPrefix.length())
|
||||
file("run/config/infinity/${targetPath}").parentFile.mkdirs()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
|
||||
Reference in new issue
Block a user