From 289a82189b46b76ec5d66943ce5f7b2c8f794329 Mon Sep 17 00:00:00 2001 From: Him188 Date: Mon, 9 Nov 2020 09:02:16 +0800 Subject: [PATCH] Fix tests --- buildSrc/src/main/kotlin/dependencyExtensions.kt | 2 +- tools/gradle-plugin/src/VersionConstants.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/dependencyExtensions.kt b/buildSrc/src/main/kotlin/dependencyExtensions.kt index 761651eb4..d3563a573 100644 --- a/buildSrc/src/main/kotlin/dependencyExtensions.kt +++ b/buildSrc/src/main/kotlin/dependencyExtensions.kt @@ -21,7 +21,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String = Versions.ktor) = " @Suppress("unused") fun DependencyHandler.compileAndTestRuntime(any: Any) { add("compileOnly", any) - add("testRuntimeOnly", any) + add("testImplementation", any) } fun DependencyHandler.smartApi( diff --git a/tools/gradle-plugin/src/VersionConstants.kt b/tools/gradle-plugin/src/VersionConstants.kt index 2ed00f770..feb3369c6 100644 --- a/tools/gradle-plugin/src/VersionConstants.kt +++ b/tools/gradle-plugin/src/VersionConstants.kt @@ -11,5 +11,5 @@ package net.mamoe.mirai.console.gradle internal object VersionConstants { const val CONSOLE_VERSION = "1.0-RC-1" // value is written here automatically during build - const val CORE_VERSION = "1.3.2" // value is written here automatically during build + const val CORE_VERSION = "1.3.3" // value is written here automatically during build } \ No newline at end of file