mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Move ServiceHelper.kt into internal package
This commit is contained in:
parent
fe27312421
commit
fdc6ef8a35
@ -15,11 +15,11 @@ import kotlinx.coroutines.ensureActive
|
||||
import net.mamoe.mirai.console.MiraiConsole
|
||||
import net.mamoe.mirai.console.data.PluginDataStorage
|
||||
import net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge
|
||||
import net.mamoe.mirai.console.internal.util.ServiceHelper.findServices
|
||||
import net.mamoe.mirai.console.internal.util.ServiceHelper.loadAllServices
|
||||
import net.mamoe.mirai.console.plugin.AbstractFilePluginLoader
|
||||
import net.mamoe.mirai.console.plugin.PluginLoadException
|
||||
import net.mamoe.mirai.console.plugin.jvm.*
|
||||
import net.mamoe.mirai.console.util.ServiceHelper.findServices
|
||||
import net.mamoe.mirai.console.util.ServiceHelper.loadAllServices
|
||||
import net.mamoe.mirai.console.util.childScope
|
||||
import net.mamoe.mirai.utils.MiraiLogger
|
||||
import net.mamoe.mirai.utils.info
|
||||
|
@ -17,13 +17,13 @@ import kotlinx.coroutines.Job
|
||||
import net.mamoe.mirai.console.MiraiConsole
|
||||
import net.mamoe.mirai.console.internal.data.cast
|
||||
import net.mamoe.mirai.console.internal.data.mkdir
|
||||
import net.mamoe.mirai.console.internal.util.ServiceHelper.findServices
|
||||
import net.mamoe.mirai.console.internal.util.ServiceHelper.loadAllServices
|
||||
import net.mamoe.mirai.console.plugin.*
|
||||
import net.mamoe.mirai.console.plugin.description.PluginDependency
|
||||
import net.mamoe.mirai.console.plugin.description.PluginDescription
|
||||
import net.mamoe.mirai.console.plugin.description.PluginKind
|
||||
import net.mamoe.mirai.console.plugin.jvm.JvmPlugin
|
||||
import net.mamoe.mirai.console.util.ServiceHelper.findServices
|
||||
import net.mamoe.mirai.console.util.ServiceHelper.loadAllServices
|
||||
import net.mamoe.mirai.console.util.childScope
|
||||
import net.mamoe.mirai.utils.info
|
||||
import java.io.File
|
||||
|
@ -7,13 +7,14 @@
|
||||
* https://github.com/mamoe/mirai/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
package net.mamoe.mirai.console.util
|
||||
package net.mamoe.mirai.console.internal.util
|
||||
|
||||
import net.mamoe.mirai.console.internal.data.cast
|
||||
import net.mamoe.mirai.console.internal.data.createInstanceOrNull
|
||||
import java.io.InputStream
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
@Suppress("unused")
|
||||
internal class ServiceList<T>(
|
||||
internal val classLoader: ClassLoader,
|
||||
internal val delegate: List<String>
|
Loading…
Reference in New Issue
Block a user