Bug#894290: gradle should raise the source/target level to the minimum supported by the default JDK
Control: severity -1 wishlist I'm downgrading the severity because this isn't actionable for now (implementation suggestions are welcome) and we need gradle-debian-helper 2.0 and gradle 4.4 in testing. The source/target level of the affected packages should be updated separately.
Bug#894290: gradle should raise the source/target level to the minimum supported by the default JDK
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).
Bug#894290: gradle should raise the source/target level to the minimum supported by the default JDK
Control: reassign -1 gradle-debian-helper 1.6 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. Let's keep the severity as is for now, as FTBFS is quite serious indeed. signature.asc Description: OpenPGP digital signature
Bug#894290: gradle should raise the source/target level to the minimum supported by the default JDK
Package: gradle Version: 3.4.1-3 Severity: serious Control: affects -1 src:libsejda-eventstudio-java src:mockito https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libsejda-eventstudio-java.html https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mockito.html error: Source option 1.5 is no longer supported. Use 1.6 or later. error: Target option 1.5 is no longer supported. Use 1.6 or later. 18:48 < bunk> ebourg: gradle seems to work now with Java 9. Is gradle supposed to also raise the source/target level of the package to be built, or are these bugs in the affected packages? 18:48 < bunk> Example: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mockito.html 18:50 < ebourg> bunk: Good catch, Gradle should indeed raise the source/target level as well. 18:50 < ebourg> to 1.7 at least The severity might appear inflated, but there should be an RC bug somewhere for FTBFS issues.