Add a type adapter for artifact version. Should fix #354

This commit is contained in:
Christian committed 2014-01-19 10:49:28 -05:00
1 parent 79d42fca8d
commit 7907e16e96
2 files changed
+29 -4

No files matched your search

@@ -43,14 +43,17 @@ public class ModMetadata
public String parent = "";
public String[] screenshots;
public ModContainer parentMod;
public List<ModContainer> childMods = Lists.newArrayList();
// this field is not for use in the json
public transient ModContainer parentMod;
// this field is not for use in the json
public transient List<ModContainer> childMods = Lists.newArrayList();
public boolean useDependencyInformation;
public Set<ArtifactVersion> requiredMods;
public List<ArtifactVersion> dependencies;
public List<ArtifactVersion> dependants;
public boolean autogenerated;
// this field is not for use in the json
public transient boolean autogenerated;
public ModMetadata()
{