Bug#894290: gradle should raise the source/target level to the minimum supported by the default JDK

Emmanuel Bourg ebourg at apache.org
Mon May 14 10:58:26 BST 2018


Le 13/05/2018 à 16:58, 殷啟聰 | Kai-Chung Yan a écrit :

> I would say this is not the fault of Gradle itself, but it the tricks can be provided by `gradle-debian-helper`. We shouldn't modify the behavior of the build tools too much.

I don't know if this can be addressed at the gradle-debian-helper helper
(I have no idea how to do that). The same issue has been fixed directly
in Ant and Maven (plexus-compiler actually, so it sounds logical to
modify Gradle as well. Note that the behavior of the build tool is
altered only when Debian builds are detected (the Ant patch checks if
the DEB_BUILD_ARCH environment variable is specified before altering the
source/target level).



More information about the pkg-java-maintainers mailing list