Skip to content

Commit

Permalink
Merge pull request #35 from RedMadRobot/feature/servers_plugin_improves
Browse files Browse the repository at this point in the history
Fix servers plugin annotation & docs mistakes
  • Loading branch information
EmogurovAnton authored Sep 17, 2024
2 parents cf82010 + 7f83e2e commit 4c4a560
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
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
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<DebugServerData> = emptyList(),
) : Plugin(), EditablePlugin {
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4c4a560

Please sign in to comment.