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}" } 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