Build using D

guai guai at fake.mail
Thu Apr 30 17:44:07 UTC 2020


On Thursday, 16 April 2020 at 17:11:39 UTC, NaN wrote:
> Is it a dumb idea?

This is what gradle does for java. It's made around java API and 
groovy/kotlin DSL on top of it.
In most cases users do not go beyond some declarative dsl 
describing project name, applying plugins, adding simple tasks 
and their dependencies from standard ones; where files lay, where 
to pull libs from, credentials and so on.
But when this isn't enough one can write their own hooks in 
groovy or kotlin, or even write a plugin.
And I find it better since in fully declarative maven once you 
hit some nonstandard need (which large projects eventually do) 
you fallback to painful programming in xml.
With gradle you just write and debug another program, which you 
already know how to do, just using their API, and not digging 
some alien declarative stuff, and how it actually being converted 
to code.


More information about the Digitalmars-d mailing list