mirror of
https://github.com/chylex/Minecraft-Server-Properties-Reload.git
synced 2025-11-24 03:37:21 +01:00
Tweak build.gradle
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user