From 70ef78d389bbf6d89e3cf7e457517d25d93eae39 Mon Sep 17 00:00:00 2001 From: "a.emogurov" Date: Tue, 17 Sep 2024 13:18:42 +0400 Subject: [PATCH 1/2] servers plugin: remove debug panel internal annotation --- .../com/redmadrobot/debug/plugin/servers/ServersPlugin.kt | 4 +--- .../debug/plugin/servers/data/model/DebugServerData.kt | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt index 0db018d7..a81730fb 100644 --- a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt +++ b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/ServersPlugin.kt @@ -1,12 +1,11 @@ package com.redmadrobot.debug.plugin.servers import androidx.compose.runtime.Composable -import com.redmadrobot.debug.core.annotation.DebugPanelInternal import com.redmadrobot.debug.core.data.DebugDataProvider import com.redmadrobot.debug.core.extension.getPlugin import com.redmadrobot.debug.core.internal.CommonContainer -import com.redmadrobot.debug.core.internal.PluginDependencyContainer import com.redmadrobot.debug.core.internal.EditablePlugin +import com.redmadrobot.debug.core.internal.PluginDependencyContainer import com.redmadrobot.debug.core.plugin.Plugin import com.redmadrobot.debug.plugin.servers.data.model.DebugServer import com.redmadrobot.debug.plugin.servers.data.model.DebugServerData @@ -14,7 +13,6 @@ import com.redmadrobot.debug.plugin.servers.data.model.DebugStage import com.redmadrobot.debug.plugin.servers.ui.ServersScreen import kotlinx.coroutines.runBlocking -@OptIn(DebugPanelInternal::class) public class ServersPlugin( private val preInstalledServers: List = emptyList(), ) : Plugin(), EditablePlugin { diff --git a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt index 88cd8193..85c2ecb9 100644 --- a/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt +++ b/plugins/plugin-servers/src/main/kotlin/com/redmadrobot/debug/plugin/servers/data/model/DebugServerData.kt @@ -1,8 +1,5 @@ package com.redmadrobot.debug.plugin.servers.data.model -import com.redmadrobot.debug.core.annotation.DebugPanelInternal - -@DebugPanelInternal public interface DebugServerData { public val id: Int public val name: String From 7f83e2eb08aeeed3d9d1beef3c9dd0f3931ff993 Mon Sep 17 00:00:00 2001 From: "a.emogurov" Date: Tue, 17 Sep 2024 13:19:05 +0400 Subject: [PATCH 2/2] docs: fix artifacts mistakes --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cb3f8cb6..9374aca2 100644 --- a/README.md +++ b/README.md @@ -45,22 +45,22 @@ dependencies { ```groovy dependencies { //Плагин для работы с аккаунтами - debugImplementation 'com.redmadrobot.debug:accounts-plugin:${debug_panel_version}' - + debugImplementation 'com.redmadrobot.debug:plugin-accounts:${debug_panel_version}' + //Плагин для работы с серверами - debugImplementation 'com.redmadrobot.debug:servers-plugin:${debug_panel_version}' - + debugImplementation 'com.redmadrobot.debug:plugin-servers:${debug_panel_version}' + //Плагин для работы с SharedPreferences - debugImplementation 'com.redmadrobot.debug:app-settings-plugin:${debug_panel_version}' + debugImplementation 'com.redmadrobot.debug:plugin-app-settings:${debug_panel_version}' //Плагин для работы с Feature Toggle на основе Flipper - debugImplementation 'com.redmadrobot.debug:flipper-plugin:${debug_panel_version}' + debugImplementation 'com.redmadrobot.debug:plugin-flipper:${debug_panel_version}' //Так же необходимо подключить саму библеотеку flipper debugImplementation "com.redmadrobot:flipper:${flipper_version}" //Плагин для работы с remote config на основе Konfeature - debugImplementation 'com.redmadrobot.debug:konfeature-plugin:${debug_panel_version}' - //Так же необходимо подключить саму библеотеку konfeature + debugImplementation 'com.redmadrobot.debug:plugin-konfeature:${debug_panel_version}' + //Так же необходимо подключить саму библиотеку konfeature debugImplementation "com.redmadrobot.konfeature:konfeature:${konfeature_version}" }