Simplify @since

This commit is contained in:
Him188 2020-11-30 14:31:51 +08:00
parent a6d5656161
commit 0a2e103bf3
3 changed files with 7 additions and 7 deletions

View File

@ -16,6 +16,6 @@ package net.mamoe.mirai.console.data
* *
* @see PluginConfig * @see PluginConfig
* @see AutoSavePluginData * @see AutoSavePluginData
* @since 1.1.0 * @since 1.1
*/ */
public open class ReadOnlyPluginConfig public constructor(saveName: String) : ReadOnlyPluginData(saveName), PluginConfig public open class ReadOnlyPluginConfig public constructor(saveName: String) : ReadOnlyPluginData(saveName), PluginConfig

View File

@ -19,7 +19,7 @@ import net.mamoe.mirai.utils.error
* *
* @see PluginData * @see PluginData
* @see AutoSavePluginData * @see AutoSavePluginData
* @since 1.1.0 * @since 1.1
*/ */
public open class ReadOnlyPluginData private constructor( public open class ReadOnlyPluginData private constructor(
// KEEP THIS PRIMARY CONSTRUCTOR FOR FUTURE USE: WE'LL SUPPORT SERIALIZERS_MODULE FOR POLYMORPHISM // KEEP THIS PRIMARY CONSTRUCTOR FOR FUTURE USE: WE'LL SUPPORT SERIALIZERS_MODULE FOR POLYMORPHISM

View File

@ -129,7 +129,7 @@ public open class MiraiConsoleExtension {
* Bintray 插件成品 JAR 发布 配置. * Bintray 插件成品 JAR 发布 配置.
* *
* @see PluginPublishing * @see PluginPublishing
* @since 1.1.0 * @since 1.1
*/ */
public val publishing: PluginPublishing = PluginPublishing() public val publishing: PluginPublishing = PluginPublishing()
@ -141,7 +141,7 @@ public open class MiraiConsoleExtension {
* - [应用][PluginContainer.apply] [BintrayPlugin], 配置 Bintray 相关参数 * - [应用][PluginContainer.apply] [BintrayPlugin], 配置 Bintray 相关参数
* - 创建 task "publishPlugin" * - 创建 task "publishPlugin"
* *
* @since 1.1.0 * @since 1.1
*/ */
public var publishingEnabled: Boolean = false public var publishingEnabled: Boolean = false
@ -150,7 +150,7 @@ public open class MiraiConsoleExtension {
* *
* @see [PluginPublishing] * @see [PluginPublishing]
* @see publishingEnabled * @see publishingEnabled
* @since 1.1.0 * @since 1.1
*/ */
public inline fun publishing(crossinline configure: PluginPublishing.() -> Unit) { public inline fun publishing(crossinline configure: PluginPublishing.() -> Unit) {
publishingEnabled = true publishingEnabled = true
@ -162,7 +162,7 @@ public open class MiraiConsoleExtension {
* *
* @see [PluginPublishing] * @see [PluginPublishing]
* @see publishingEnabled * @see publishingEnabled
* @since 1.1.0 * @since 1.1
*/ */
public fun publishing() { public fun publishing() {
publishingEnabled = true publishingEnabled = true
@ -182,7 +182,7 @@ public open class MiraiConsoleExtension {
* *
* @see publishing * @see publishing
* @see publishingEnabled * @see publishingEnabled
* @since 1.1.0 * @since 1.1
*/ */
public class PluginPublishing internal constructor() { public class PluginPublishing internal constructor() {
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////