Skip to content

Commit d9a4157

Browse files
authored
合并拉取请求 #34
Upgrade Kotlin to v1.9.0
2 parents b07f630 + a8a3cc2 commit d9a4157

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

buildSrc/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88
gradlePluginPortal()
99
}
1010

11-
val kotlinVersion = "1.8.21"
11+
val kotlinVersion = "1.9.0"
1212
val dokkaPluginVersion = "1.8.20"
1313
val gradleCommon = "0.0.11"
1414

buildSrc/src/main/kotlin/IProject.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ object IProject : ProjectDetail() {
88
const val DESCRIPTION = "Generate platform-compatible functions for Kotlin suspend functions"
99
const val HOMEPAGE = "https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin"
1010

11-
override val version: Version = version(0, 4, 0)
11+
override val version: Version = version(0, 5, 0)
1212

1313
override val homepage: String get() = HOMEPAGE
1414

compiler/suspend-transform-plugin/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
}
4141

4242
val compileKotlin: KotlinCompile by tasks
43-
compileKotlin.kotlinOptions.freeCompilerArgs += listOf("-Xjvm-default=enable", "-opt-in=kotlin.RequiresOptIn")
43+
compileKotlin.kotlinOptions.freeCompilerArgs += listOf("-Xjvm-default=all", "-opt-in=kotlin.RequiresOptIn")
4444

4545
repositories {
4646
maven {

runtime/suspend-transform-annotation/src/commonMain/kotlin/love/forte/plugin/suspendtrans/annotation/SuspendTransformAnnotation.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ public expect annotation class JvmAsync(
100100
* 只有函数没有参数时有效。
101101
*
102102
*/
103-
actual val asProperty: Boolean = false
103+
val asProperty: Boolean = false
104104
)
105105

106106

107107
@OptIn(ExperimentalMultiplatform::class)
108108
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
109109
@Retention(AnnotationRetention.BINARY)
110110
@OptionalExpectation
111-
public expect annotation class JsPromise()
111+
public expect annotation class JsPromise()

suspend-transform-plugin-sample/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
}
1717
dependencies {
1818
//this.implementation()
19-
classpath("love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:0.4.0")
19+
classpath("love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:0.5.0")
2020
}
2121
}
2222

0 commit comments

Comments
 (0)