Re: gradle clean not called
On 02-02-16 13:47, Emmanuel Bourg wrote:
> Le 2/02/2016 13:20, Felix Natter a écrit :
>> "gradle clean" is not called when running "debian/rules clean".
>
> This is intended for several reasons:
> - 'gradle clean' is horribly slow
> - 'gradle clean' triggers the compilation of the buildSrc and often
> fails due to missing dependencies
>
> gradle-debian-helper attempts to detect the modules directories and
> clean them directly, this isn't perfect though and sometimes
> dh_auto_build has to be extended.
Before the switch to gradle-debian-helper I used `gradle .. clean -x
build` to only execute the clean target [0], that may be an option for
the debian helper too, but I guess the missing dependencies make that
less suitable.
[0]
https://anonscm.debian.org/cgit/pkg-grass/osmosis.git/tree/debian/rules?h=debian/0.44.1-1#n26
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Reply to: