Skip to content
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/src/main/kotlin/IProject.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object IProject {
const val VERSION = "0.2.1"
const val VERSION = "0.2.2"
const val GROUP = "love.forte.plugin.suspend-transform"
const val DESCRIPTION = "Generate platform-compatible functions for Kotlin suspend functions"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ open class SuspendTransformConfiguration {
transformReturnTypeGeneric = false,
originFunctionIncludeAnnotations = listOf(IncludeAnnotation(jvmSyntheticClassInfo)),
copyAnnotationsToSyntheticFunction = true,
copyAnnotationExcludes = listOf(jvmSyntheticClassInfo),
copyAnnotationExcludes = listOf(jvmSyntheticClassInfo, jvmBlockingAnnotationInfo.classInfo),
syntheticFunctionIncludeAnnotations = listOf(IncludeAnnotation(jvmApi4JAnnotationClassInfo))
)
//endregion
Expand All @@ -257,7 +257,7 @@ open class SuspendTransformConfiguration {
transformReturnTypeGeneric = true,
originFunctionIncludeAnnotations = listOf(IncludeAnnotation(jvmSyntheticClassInfo)),
copyAnnotationsToSyntheticFunction = true,
copyAnnotationExcludes = listOf(jvmSyntheticClassInfo),
copyAnnotationExcludes = listOf(jvmSyntheticClassInfo, jvmAsyncAnnotationInfo.classInfo),
syntheticFunctionIncludeAnnotations = listOf(IncludeAnnotation(jvmApi4JAnnotationClassInfo))
)
//endregion
Expand Down Expand Up @@ -287,7 +287,7 @@ open class SuspendTransformConfiguration {
transformReturnTypeGeneric = true,
originFunctionIncludeAnnotations = listOf(),
copyAnnotationsToSyntheticFunction = true,
copyAnnotationExcludes = listOf(),
copyAnnotationExcludes = listOf(jsAsyncAnnotationInfo.classInfo),
syntheticFunctionIncludeAnnotations = listOf(IncludeAnnotation(jsApi4JsAnnotationInfo))
)
//endregion
Expand Down