mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
We need to verify, for each release, that our stable plugin APIs are not breaking. This commit adds some Gradle support for basic backwards compatibility testing. On the Gradle side, we add a new qa project to test the current commit against downloads of released versions, and against fresh builds of snapshot versions. As for the actual comparison, we break up the output of javap (the decompiler) by line and create maps of classes to public class, field, and method declarations within those class files. We then check that the signature map from the new jar is not missing any elements present in the old jar. This method has known limitations, which are documented in the JarApiComparisonTask class. Co-authored-by: Mark Vieira <portugee@gmail.com> |
||
---|---|---|
.. | ||
logging | ||
plugin-analysis-api | ||
plugin-api | ||
build.gradle |