mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-12 10:23:59 +01:00
Added compiling options for nms modules
This commit is contained in:
parent
32df7a73ea
commit
77c0f53346
@ -4,4 +4,8 @@ dependencies {
|
||||
compileOnly "org.spigotmc:v1_12_R1:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_12') && !Boolean.valueOf(project.findProperty("nms.compile_v1_12").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -4,4 +4,8 @@ dependencies {
|
||||
compileOnly "org.spigotmc:v1_15_R1-Paper:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_15') && !Boolean.valueOf(project.findProperty("nms.compile_v1_15").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -4,4 +4,8 @@ dependencies {
|
||||
compileOnly "org.spigotmc:v1_16_R3-Tuinity:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_16') && !Boolean.valueOf(project.findProperty("nms.compile_v1_16").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -10,4 +10,8 @@ dependencies {
|
||||
compileOnly "org.spigotmc:v1_17_R1-Paper:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_17') && !Boolean.valueOf(project.findProperty("nms.compile_v1_17").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -29,4 +29,8 @@ dependencies {
|
||||
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_18') && !Boolean.valueOf(project.findProperty("nms.compile_v1_18").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -4,4 +4,8 @@ dependencies {
|
||||
compileOnly "org.spigotmc:v1_7_R4:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_7') && !Boolean.valueOf(project.findProperty("nms.compile_v1_7").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
@ -4,4 +4,8 @@ dependencies {
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
}
|
||||
|
||||
if (project.hasProperty('nms.compile_v1_8') && !Boolean.valueOf(project.findProperty("nms.compile_v1_8").toString())) {
|
||||
project.tasks.all { task -> task.enabled = false }
|
||||
}
|
Loading…
Reference in New Issue
Block a user