mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 15:00:38 +08:00
Gradle: Deprecate bintray in extension configuration
This commit is contained in:
parent
ec5b384fd0
commit
75afff72e9
@ -277,6 +277,8 @@ public open class MiraiConsoleExtension {
|
|||||||
/**
|
/**
|
||||||
* 自定义配置 [BintrayExtension],覆盖
|
* 自定义配置 [BintrayExtension],覆盖
|
||||||
*/
|
*/
|
||||||
|
@Suppress("DeprecatedCallableAddReplaceWith")
|
||||||
|
@Deprecated("不再支持发布到 bintray. 该配置会在 2.8 删除.", level = DeprecationLevel.WARNING)
|
||||||
public fun bintray(configure: BintrayExtension.() -> Unit) {
|
public fun bintray(configure: BintrayExtension.() -> Unit) {
|
||||||
bintrayConfigs.add(configure)
|
bintrayConfigs.add(configure)
|
||||||
}
|
}
|
||||||
@ -284,6 +286,8 @@ public open class MiraiConsoleExtension {
|
|||||||
/**
|
/**
|
||||||
* 自定义配置 [BintrayExtension.PackageConfig]
|
* 自定义配置 [BintrayExtension.PackageConfig]
|
||||||
*/
|
*/
|
||||||
|
@Suppress("DeprecatedCallableAddReplaceWith")
|
||||||
|
@Deprecated("不再支持发布到 bintray. 该配置会在 2.8 删除.", level = DeprecationLevel.WARNING)
|
||||||
public fun packageConfig(configure: BintrayExtension.PackageConfig.() -> Unit) {
|
public fun packageConfig(configure: BintrayExtension.PackageConfig.() -> Unit) {
|
||||||
bintrayPackageConfigConfigs.add(configure)
|
bintrayPackageConfigConfigs.add(configure)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user