From 287769799ad160d26962db7747fbd099dd7d777e Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 26 Apr 2022 12:07:06 +0100 Subject: [PATCH] Enable kotlin-dynamic-delegation in mirai-core and mirai-core-api --- mirai-core-api/build.gradle.kts | 9 +++++---- mirai-core/build.gradle.kts | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/mirai-core-api/build.gradle.kts b/mirai-core-api/build.gradle.kts index 7b27e35a3..6b01f1cfb 100644 --- a/mirai-core-api/build.gradle.kts +++ b/mirai-core-api/build.gradle.kts @@ -1,10 +1,10 @@ /* - * Copyright 2019-2021 Mamoe Technologies and contributors. + * Copyright 2019-2022 Mamoe Technologies and contributors. * - * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. - * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. + * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. + * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. * - * https://github.com/mamoe/mirai/blob/master/LICENSE + * https://github.com/mamoe/mirai/blob/dev/LICENSE */ @file:Suppress("UNUSED_VARIABLE") @@ -18,6 +18,7 @@ plugins { //id("kotlinx-atomicfu") id("signing") id("me.him188.kotlin-jvm-blocking-bridge") + id("me.him188.kotlin-dynamic-delegation") `maven-publish` } diff --git a/mirai-core/build.gradle.kts b/mirai-core/build.gradle.kts index c9e5ae876..f6f86b50b 100644 --- a/mirai-core/build.gradle.kts +++ b/mirai-core/build.gradle.kts @@ -1,10 +1,10 @@ /* - * Copyright 2019-2021 Mamoe Technologies and contributors. + * Copyright 2019-2022 Mamoe Technologies and contributors. * - * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. - * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. + * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. + * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. * - * https://github.com/mamoe/mirai/blob/master/LICENSE + * https://github.com/mamoe/mirai/blob/dev/LICENSE */ @file:Suppress("UNUSED_VARIABLE") @@ -17,6 +17,7 @@ plugins { // id("kotlinx-atomicfu") kotlin("plugin.serialization") id("me.him188.kotlin-jvm-blocking-bridge") + id("me.him188.kotlin-dynamic-delegation") `maven-publish` }