HF RL Explorer

ProGuard/R8 default shrinking rules break Gson deserialization for classes without a no-args constructor

ProGuard/R8 default shrinking rules break Gson deserialization for classes without a no-args constructor: a task in LegoFlow-SWE (Harbor dataset). After applying ProGuard or R8 with the default Gson shrinking rules (from META-INF/proguard/gson.pro ), classes that do not have a no-args constructor…

The task

After applying ProGuard or R8 with the default Gson shrinking rules (from `META-INF/proguard/gson.pro`), **classes that do not have a no-args constructor fail to deserialize correctly**. The shrunken output causes Gson to throw runtime exceptions because necessary reflection metadata (constructors, fields) has been…

Part of Lego-X/LegoFlow-SWE.