Skip to content

Commit 76ed830

Browse files
committed
fix: error on serialization of version name causing crash
Execution failed for task ':utilitiesplugin:buildPluginFreeApi26Debug'. > Attempted to serialize java.lang.Class: java.lang.String. Forgot to register a type adapter? See https://github.com/google/gson/blob/main/Troubleshooting.md#java-lang-class-unsupported
1 parent 02c40cd commit 76ed830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/src/main/java/com/icst/plugin/builder/BuildPluginTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void execute() {
105105
root.put("pluginName", ext.getPluginName().get());
106106
root.put("appPluginClass", ext.getAppPluginClass().get());
107107
root.put("applicationId", getApplicationId().get());
108-
root.put("versionName", getVersionName());
108+
root.put("versionName", getVersionName().get());
109109

110110
Gson gson = new Gson();
111111
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)