diff --git a/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/PluginProcessor.java b/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/PluginProcessor.java index 7ddbbdc..f68dcde 100644 --- a/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/PluginProcessor.java +++ b/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/PluginProcessor.java @@ -35,7 +35,7 @@ public static Pair process(TouchPortalPluginAnnota TypeSpec.Builder pluginTypeSpecBuilder = SpecUtils.createPluginTypeSpecBuilder(pluginElement, plugin); JsonObject jsonPlugin = new JsonObject(); - jsonPlugin.addProperty(PluginHelper.SDK, PluginHelper.TOUCH_PORTAL_PLUGIN_VERSION); + jsonPlugin.addProperty(PluginHelper.API, PluginHelper.TOUCH_PORTAL_PLUGIN_VERSION); jsonPlugin.addProperty(PluginHelper.VERSION, plugin.version()); jsonPlugin.addProperty(PluginHelper.NAME, PluginHelper.getPluginName(pluginElement, plugin)); jsonPlugin.addProperty(PluginHelper.ID, PluginHelper.getPluginId(pluginElement)); diff --git a/Helpers/src/main/java/com/christophecvb/touchportal/helpers/PluginHelper.java b/Helpers/src/main/java/com/christophecvb/touchportal/helpers/PluginHelper.java index 66febb3..fc777ec 100644 --- a/Helpers/src/main/java/com/christophecvb/touchportal/helpers/PluginHelper.java +++ b/Helpers/src/main/java/com/christophecvb/touchportal/helpers/PluginHelper.java @@ -29,7 +29,7 @@ * Touch Portal Plugin Plugin Helper */ public class PluginHelper { - public static final String SDK = "sdk"; + public static final String API = "api"; public static final String VERSION = "version"; public static final String NAME = GenericHelper.NAME; public static final String ID = GenericHelper.ID;