check if the extension is applied
All checks were successful
Publish to snapshot maven / build (push) Successful in 19s
All checks were successful
Publish to snapshot maven / build (push) Successful in 19s
This commit is contained in:
parent
08234fc63d
commit
daee0d93b7
|
@ -73,6 +73,8 @@ class PhytotelmaPlugin : Plugin<Project> {
|
|||
PhytotelmaGradleExtensionImpl::class.java
|
||||
)
|
||||
|
||||
project.extensions.findByType(PhytotelmaGradleExtension::class.java) ?: return
|
||||
|
||||
project.task("genSources").apply {
|
||||
group = taskGroup
|
||||
doFirst {
|
||||
|
@ -120,7 +122,7 @@ class PhytotelmaPlugin : Plugin<Project> {
|
|||
}
|
||||
}
|
||||
|
||||
if (minecraftVersion.isNotEmpty()) {
|
||||
|
||||
project.task("genRunConfigs").apply {
|
||||
group = taskGroup
|
||||
doFirst {
|
||||
|
@ -130,7 +132,7 @@ class PhytotelmaPlugin : Plugin<Project> {
|
|||
|
||||
project.tasks.register("runClient", RunGameTask::class.java, Env.CLIENT)
|
||||
project.tasks.register("runServer", RunGameTask::class.java, Env.SERVER)
|
||||
}
|
||||
|
||||
|
||||
project.task("downloadAssets").apply {
|
||||
group = taskGroup
|
||||
|
|
Loading…
Reference in a new issue