mirror of
https://github.com/HighCapable/SweetProperty.git
synced 2025-09-06 02:35:28 +08:00
feat: add stub function for possible problems with nested lambdas
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
*
|
*
|
||||||
* This file is created by fankes on 2023/8/25.
|
* This file is created by fankes on 2023/8/25.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "PropertyName")
|
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "PropertyName", "DeprecatedCallableAddReplaceWith")
|
||||||
|
|
||||||
package com.highcapable.sweetproperty.plugin.extension.dsl.configure
|
package com.highcapable.sweetproperty.plugin.extension.dsl.configure
|
||||||
|
|
||||||
@@ -124,6 +124,16 @@ open class SweetPropertyConfigureExtension internal constructor() {
|
|||||||
/** 当前构建脚本生成代码功能配置实例 */
|
/** 当前构建脚本生成代码功能配置实例 */
|
||||||
internal var buildScriptConfigure: BuildScriptGenerateConfigureExtension? = null
|
internal var buildScriptConfigure: BuildScriptGenerateConfigureExtension? = null
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 错误的调用会导致关闭整个插件的功能
|
||||||
|
*
|
||||||
|
* 请使用 [all]、[sourcesCode]、[buildScript]
|
||||||
|
* @throws [IllegalStateException]
|
||||||
|
*/
|
||||||
|
@Deprecated(message = "Do not use", level = DeprecationLevel.ERROR)
|
||||||
|
val isEnable: Boolean
|
||||||
|
get() = SError.make("Please called all { isEnable = ... }, sourcesCode { isEnable = ... }, buildScript { isEnable = ... }")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 配置通用生成代码功能
|
* 配置通用生成代码功能
|
||||||
* @param action 配置方法体
|
* @param action 配置方法体
|
||||||
|
Reference in New Issue
Block a user