Skip to content

Commit 429a4e6

Browse files
committed
release: v1.0.0-RC
1 parent 62b4c4f commit 429a4e6

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.changelog/v1.0.0-RC.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.1.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.1.0)
2+
3+
4+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-onebot/issues)[协助](https://github.com/simple-robot/simbot-component-onebot/pulls)
5+
感谢您的贡献与支持!
6+
7+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!
8+
9+
> [!note]
10+
> 这是一个RC版本。由于之前内部的打包、发布配置进行过一次较大的变动,因此使用此版本先对版本的发布流程进行一次验证。
11+
> 如果流程无误、且没有其他问题、BUG反馈,则后续会跟进 `v1.0.0` 的发布。

buildSrc/src/main/kotlin/P.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ object P {
3737
override val description: String get() = DESCRIPTION
3838
override val homepage: String get() = HOMEPAGE
3939

40-
const val VERSION = "0.9.2"
41-
const val NEXT_VERSION = "0.9.2"
40+
const val VERSION = "1.0.0-RC"
41+
const val NEXT_VERSION = "1.0.0"
4242

4343
override val snapshotVersion = "$NEXT_VERSION-SNAPSHOT"
4444
override val version = if (isSnapshot()) snapshotVersion else VERSION

buildSrc/src/main/kotlin/simbot-onebot-dokka-multi-module.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,16 @@ fun org.jetbrains.dokka.gradle.AbstractDokkaTask.configOutput(format: String) {
3636
@Suppress("MaxLineLength")
3737
tasks.named<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>("dokkaHtmlMultiModule") {
3838
configOutput("html")
39-
39+
if (isSimbotLocal()) {
40+
offlineMode.set(true)
41+
}
4042
// rootProject.file("README.md").takeIf { it.exists() }?.also {
4143
// includes.from(it)
4244
// }
4345

4446
pluginConfiguration<DokkaBase, DokkaBaseConfiguration> {
4547
customAssets = listOf(rootProject.file(".simbot/dokka-assets/logo-icon.svg"))
4648
customStyleSheets = listOf(rootProject.file(".simbot/dokka-assets/css/kdoc-style.css"))
47-
// TODO ?
4849
homepageLink = "https://github.com/simple-robot/simbot-component-onebot"
4950
footerMessage = "© 2024-${Year.now().value} <a href='https://github.com/simple-robot'>Simple Robot</a>, <a href='https://github.com/ForteScarlet'>ForteScarlet</a>. All rights reserved."
5051
separateInheritedMembers = true

buildSrc/src/main/kotlin/simbot-onebot-dokka-partial-configure.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ plugins {
2727
// dokka config
2828
@Suppress("MaxLineLength")
2929
tasks.withType<DokkaTaskPartial>().configureEach {
30+
if (isSimbotLocal()) {
31+
offlineMode.set(true)
32+
}
33+
3034
dokkaSourceSets.configureEach {
3135
version = P.ComponentOneBot.version
3236
documentedVisibilities.set(
@@ -96,7 +100,7 @@ tasks.withType<DokkaTaskPartial>().configureEach {
96100
externalDocumentation(URI.create("https://api.ktor.io/"))
97101

98102
// simbot doc
99-
externalDocumentation(URI.create("https://docs.simbot.forte.love/main/"))
103+
externalDocumentation(URI.create("https://docs.simbot.forte.love/main-v4/"))
100104

101105
}
102106
}

0 commit comments

Comments
 (0)