rootProject.name = "espigot" this.setupSubproject("espigot-server", "eSpigot-Server") this.setupSubproject("espigot-api", "eSpigot-API") fun setupSubproject(name: String, dir: String) { include(":$name") project(":$name").projectDir = file(dir) }