mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Simplify @since
This commit is contained in:
parent
a6d5656161
commit
0a2e103bf3
@ -16,6 +16,6 @@ package net.mamoe.mirai.console.data
|
||||
*
|
||||
* @see PluginConfig
|
||||
* @see AutoSavePluginData
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public open class ReadOnlyPluginConfig public constructor(saveName: String) : ReadOnlyPluginData(saveName), PluginConfig
|
@ -19,7 +19,7 @@ import net.mamoe.mirai.utils.error
|
||||
*
|
||||
* @see PluginData
|
||||
* @see AutoSavePluginData
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public open class ReadOnlyPluginData private constructor(
|
||||
// KEEP THIS PRIMARY CONSTRUCTOR FOR FUTURE USE: WE'LL SUPPORT SERIALIZERS_MODULE FOR POLYMORPHISM
|
||||
|
@ -129,7 +129,7 @@ public open class MiraiConsoleExtension {
|
||||
* Bintray 插件成品 JAR 发布 配置.
|
||||
*
|
||||
* @see PluginPublishing
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public val publishing: PluginPublishing = PluginPublishing()
|
||||
|
||||
@ -141,7 +141,7 @@ public open class MiraiConsoleExtension {
|
||||
* - [应用][PluginContainer.apply] [BintrayPlugin], 配置 Bintray 相关参数
|
||||
* - 创建 task "publishPlugin"
|
||||
*
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public var publishingEnabled: Boolean = false
|
||||
|
||||
@ -150,7 +150,7 @@ public open class MiraiConsoleExtension {
|
||||
*
|
||||
* @see [PluginPublishing]
|
||||
* @see publishingEnabled
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public inline fun publishing(crossinline configure: PluginPublishing.() -> Unit) {
|
||||
publishingEnabled = true
|
||||
@ -162,7 +162,7 @@ public open class MiraiConsoleExtension {
|
||||
*
|
||||
* @see [PluginPublishing]
|
||||
* @see publishingEnabled
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public fun publishing() {
|
||||
publishingEnabled = true
|
||||
@ -182,7 +182,7 @@ public open class MiraiConsoleExtension {
|
||||
*
|
||||
* @see publishing
|
||||
* @see publishingEnabled
|
||||
* @since 1.1.0
|
||||
* @since 1.1
|
||||
*/
|
||||
public class PluginPublishing internal constructor() {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user