diff --git a/buildSrc/src/main/kotlin/P.kt b/buildSrc/src/main/kotlin/P.kt index 4901fa548..2c19ab023 100644 --- a/buildSrc/src/main/kotlin/P.kt +++ b/buildSrc/src/main/kotlin/P.kt @@ -47,8 +47,8 @@ fun isSnapshot(): Boolean = _isSnapshot @Suppress("MemberVisibilityCanBePrivate") sealed class P(override val group: String) : ProjectDetail() { companion object { - const val VERSION = "4.7.0-beta1" - const val NEXT_VERSION = "4.7.0-beta2" + const val VERSION = "4.7.0" + const val NEXT_VERSION = "4.7.1" const val SNAPSHOT_VERSION = "$VERSION-SNAPSHOT" const val NEXT_SNAPSHOT_VERSION = "$NEXT_VERSION-SNAPSHOT" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8457c0168..bfec9e243 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,7 +16,7 @@ ksp = "2.0.20-1.0.25" kotlinPoet = "1.18.1" # https://github.com/Kotlin/kotlinx-benchmark #kotlinxBenchmark = "0.4.11" -reactor = "3.6.10" +reactor = "3.6.11" # simbots suspendTransform = "2.0.20-0.9.3" gradleCommon = "0.6.0" diff --git a/simbot-api/src/commonMain/kotlin/love/forte/simbot/resource/IOResources.kt b/simbot-api/src/commonMain/kotlin/love/forte/simbot/resource/IOResources.kt index db51f6fce..2b44b4037 100644 --- a/simbot-api/src/commonMain/kotlin/love/forte/simbot/resource/IOResources.kt +++ b/simbot-api/src/commonMain/kotlin/love/forte/simbot/resource/IOResources.kt @@ -113,6 +113,8 @@ public fun fileResource(base: String, vararg parts: String): Resource { /** * 一个可以得到 [kotlinx.io.Source] 的 [Resource]。 * + * @see fileResource + * * @since 4.7.0 */ @ExperimentalIOResourceAPI @@ -146,7 +148,8 @@ public interface SourceResource : Resource { @ExperimentalIOResourceAPI private data class FilePathResource(val path: Path) : SourceResource { - private val source = SystemFileSystem.source(path) + private val source + get() = SystemFileSystem.source(path) @Throws(Exception::class) override fun source(): Source = source.buffered() diff --git a/simbot-commons/simbot-common-core/build.gradle.kts b/simbot-commons/simbot-common-core/build.gradle.kts index d237943db..b667903bf 100644 --- a/simbot-commons/simbot-common-core/build.gradle.kts +++ b/simbot-commons/simbot-common-core/build.gradle.kts @@ -91,7 +91,7 @@ kotlin { dependencies { implementation(kotlin("test-junit5")) implementation(libs.kotlinx.coroutines.reactor) - implementation("io.projectreactor:reactor-test:3.6.10") + implementation("io.projectreactor:reactor-test:3.6.11") } } } diff --git a/simbot-commons/simbot-common-suspend-runner/build.gradle.kts b/simbot-commons/simbot-common-suspend-runner/build.gradle.kts index 29b407aca..dca14617a 100644 --- a/simbot-commons/simbot-common-suspend-runner/build.gradle.kts +++ b/simbot-commons/simbot-common-suspend-runner/build.gradle.kts @@ -80,7 +80,7 @@ kotlin { implementation(libs.kotlinx.coroutines.reactor) implementation(libs.kotlinx.coroutines.rx2) implementation(libs.kotlinx.coroutines.rx3) - implementation("io.projectreactor:reactor-test:3.6.10") + implementation("io.projectreactor:reactor-test:3.6.11") } } } diff --git a/website b/website index 0629bb8cc..cced32bc3 160000 --- a/website +++ b/website @@ -1 +1 @@ -Subproject commit 0629bb8cc694f0a96696bba4712146ffb34b16c3 +Subproject commit cced32bc3eb5e273966d9badb8d718e6d258c556