diff --git a/.changelog/v3.0.0-beta-M3.md b/.changelog/v3.0.0-beta-M3.md new file mode 100644 index 000000000..3fa41ab60 --- /dev/null +++ b/.changelog/v3.0.0-beta-M3.md @@ -0,0 +1,22 @@ +**组件更新:** + +由于此版本存在大面积不兼容更新,因此下列各组件会以当前版本为目标在三日内进行同步更新。 + +* [mirai组件](https://github.com/simple-robot/simbot-component-mirai) +* [Kook组件](https://github.com/simple-robot/simbot-component-kook) +* [QQ频道组件](https://github.com/simple-robot/simbot-component-tencent-guild) + +**仓库参考:** + +| **模块** | **repo1.maven** | **search.maven** | +|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------| +| simbot-api | [simbot-api: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/simbot-api/3.0.0-beta-M3) | [simbot-api: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot/simbot-api/3.0.0-beta-M3/jar) | +| simbot-core | [simbot-core: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/simbot-core/3.0.0-beta-M3) | [simbot-core: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot/simbot-core/3.0.0-beta-M3/jar) | +| simbot-logger | [simbot-logger: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/simbot-logger/3.0.0-beta-M3) | [simbot-logger: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot/simbot-logger/3.0.0-beta-M3/jar) | +| simboot-api | [simboot-api: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/boot/simboot-api/3.0.0-beta-M3) | [simboot-api: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-api/3.0.0-beta-M3/jar) | +| simboot-core | [simboot-core: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/boot/simboot-core/3.0.0-beta-M3) | [simboot-core: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-core/3.0.0-beta-M3/jar) | +| simboot-core-annotation | [simboot-core-annotation: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/boot/simboot-core-annotation/3.0.0-beta-M3) | [simboot-core-annotation: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-core-annotation/3.0.0-beta-M3/jar) | +| simboot-core-spring-boot-starter | [simboot-core-spring-boot-starter: v3.0.0-beta-M3](https://repo1.maven.org/maven2/love/forte/simbot/boot/simboot-core-spring-boot-starter/3.0.0-beta-M3) | [simboot-core-spring-boot-starter: v3.0.0-beta-M3](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-core-spring-boot-starter/3.0.0-beta-M3/jar) | + + + diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index e8df7c48b..4aacf4c6e 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + plugins { `kotlin-dsl` } @@ -19,4 +21,10 @@ dependencies { // see https://github.com/gradle-nexus/publish-plugin implementation("io.github.gradle-nexus:publish-plugin:1.1.0") +} + +val compileKotlin: KotlinCompile by tasks + +compileKotlin.kotlinOptions { + freeCompilerArgs = listOf("-Xinline-classes") } \ No newline at end of file diff --git a/buildSrc/src/main/kotlin/Env.kt b/buildSrc/src/main/kotlin/Env.kt index 42629dcbd..4cf4c22c9 100644 --- a/buildSrc/src/main/kotlin/Env.kt +++ b/buildSrc/src/main/kotlin/Env.kt @@ -1,7 +1,21 @@ +/* + * Copyright (c) 2022 ForteScarlet + * + * 本文件是 simply-robot (或称 simple-robot 3.x 、simbot 3.x ) 的一部分。 + * + * simply-robot 是自由软件:你可以再分发之和/或依照由自由软件基金会发布的 GNU 通用公共许可证修改之,无论是版本 3 许可证,还是(按你的决定)任何以后版都可以。 + * + * 发布 simply-robot 是希望它能有用,但是并无保障;甚至连可销售和符合某个特定的目的都不保证。请参看 GNU 通用公共许可证,了解详情。 + * + * 你应该随程序获得一份 GNU 通用公共许可证的复本。如果没有,请看: + * https://www.gnu.org/licenses + * https://www.gnu.org/licenses/gpl-3.0-standalone.html + * https://www.gnu.org/licenses/lgpl-3.0-standalone.html + * + */ + object Env { const val IS_SNAPSHOT = "SIMBOT_IS_SNAPSHOT" const val SNAPSHOT_ONLY = "SIMBOT_SNAPSHOT_ONLY" const val RELEASES_ONLY = "SIMBOT_RELEASES_ONLY" - - } \ No newline at end of file