QuiltMC / quilt-loom

MIT License
22 stars 18 forks source link

`genSources` task no longer depends on `genSourcesWithQuiltflower` task #33

Closed Kneelawk closed 1 year ago

Kneelawk commented 1 year ago

The Issue

It seems that the genSources task no longer starts the genSourcesWithQuiltflower task by default, instead starting the genSourcesWithCfr task.

Workaround

It is possible to work around this issue via:

Groovy:

afterEvaluate {
    tasks.named("genSources") {
        dependsOn = ["genSourcesWithQuiltflower"]
    }
}

Kotlin:

afterEvaluate {
    tasks.named("genSources") {
        setDependsOn(listOf("genSourcesWithQuiltflower"))
    }
}
Kneelawk commented 1 year ago

Something I forgot to mention earlier is that this is happening in a split-env project.

TibiNonEst commented 1 year ago

Should be fixed by f0e73ca