split NMS away from core bukkit code

This commit is contained in:
dfsek
2022-05-31 22:31:40 -07:00
parent 8e933a1bb4
commit 839013d89a
52 changed files with 135 additions and 80 deletions

View File

@@ -29,6 +29,12 @@ fun Project.forSubProjects(project: String, action: Action<Project>) {
}
}
fun Project.forImmediateSubProjects(project: String, action: Action<Project>) {
project(project).childProjects.forEach {
action.execute(it.value)
}
}
fun preRelease(preRelease: Boolean) {
isPrerelease = preRelease
}