From fc618acc210c99e7df2b89a8cfe26e87d4323346 Mon Sep 17 00:00:00 2001 From: Pjiesco Date: Fri, 6 Oct 2023 15:49:52 +0200 Subject: [PATCH] Change `sdk` to `api` --- .../touchportal/annotations/processor/PluginProcessor.java | 2 +- .../com/christophecvb/touchportal/helpers/PluginHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;