Skip to content

Upgrade Kotlin to v1.9.0 #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {
gradlePluginPortal()
}

val kotlinVersion = "1.8.21"
val kotlinVersion = "1.9.0"
val dokkaPluginVersion = "1.8.20"
val gradleCommon = "0.0.11"

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/IProject.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object IProject : ProjectDetail() {
const val DESCRIPTION = "Generate platform-compatible functions for Kotlin suspend functions"
const val HOMEPAGE = "https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin"

override val version: Version = version(0, 4, 0)
override val version: Version = version(0, 5, 0)

override val homepage: String get() = HOMEPAGE

Expand Down
2 changes: 1 addition & 1 deletion compiler/suspend-transform-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
}

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

repositories {
maven {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ public expect annotation class JvmAsync(
* 只有函数没有参数时有效。
*
*/
actual val asProperty: Boolean = false
val asProperty: Boolean = false
)


@OptIn(ExperimentalMultiplatform::class)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
@Retention(AnnotationRetention.BINARY)
@OptionalExpectation
public expect annotation class JsPromise()
public expect annotation class JsPromise()
2 changes: 1 addition & 1 deletion suspend-transform-plugin-sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
}
dependencies {
//this.implementation()
classpath("love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:0.4.0")
classpath("love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:0.5.0")
}
}

Expand Down