Open thc202 opened 6 years ago
I'm open for suggestions on how to proceed here. Is it an urgent issue for you?
again, thanx for your research and contribution
This can be implemented in Groovy (the Kotlin DSL is just another consumer), happy to contribute that.
No urgency, just a good to have.
We are currently modularising HSC and therefore reorganising the complete build (cf. #309 and the develop branch of the project). Are you still interested in contributing a respective extension, @thc202? I'd be happy to see a PR.
You seem to be very familiar with Gradle. If you happen to have some time, reviewing the modular build, I'd appreciate any feedback as well.
It's considered best practice to configure the default task through an extension.
This also has the advantage of providing a more similar configuration for Groovy and Kotlin DSLs.
Currently, in Groovy DSL you can simply do:
but in Kotlin DSL you need to be more explicit and get the task, e.g.:
which is more verbose than the usual/ideal.
It might also be a good opportunity to start using lazy properties and task configuration avoidance.