1
0
mirror of https://github.com/chylex/Minecraft-Server-Properties-Reload.git synced 2025-04-30 06:34:03 +02:00

Tweak build.gradle

This commit is contained in:
chylex 2021-11-25 20:52:57 +01:00
parent 328dfb4934
commit 2283adf09b
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
2 changed files with 12 additions and 3 deletions

View File

@ -18,14 +18,14 @@ loom {
named("client") {
configName = "Fabric Client"
client()
runDir("run")
runDir("../run")
ideConfigGenerated(true)
}
named("server") {
configName = "Fabric Server"
server()
runDir("run")
runDir("../run")
ideConfigGenerated(true)
}
}

View File

@ -31,7 +31,16 @@ plugins {
idea {
module {
excludeDirs.add(project.file("run"))
excludeDirs.add(file("gradle"))
excludeDirs.add(file("run"))
if (findProject(":Forge") == null) {
excludeDirs.add(file("Forge"))
}
if (findProject(":Fabric") == null) {
excludeDirs.add(file("Fabric"))
}
}
}