Skip to content

Commit

Permalink
RUNTIME annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Jan 26, 2025
1 parent 5f67fa7 commit ae681d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sweetspi-runtime/src/commonMain/kotlin/Annotations.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import kotlin.reflect.*
*/
@MustBeDocumented
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.BINARY)
@Retention(AnnotationRetention.RUNTIME)
public annotation class Service

/**
Expand Down Expand Up @@ -54,7 +54,7 @@ public annotation class ServiceProvider(public vararg val services: KClass<*>)
// if the annotation is present, then there will be restrictions on how it could be used by ServiceProvider
@MustBeDocumented
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.BINARY)
@Retention(AnnotationRetention.RUNTIME)
public annotation class JvmService

// to be interoperable with the jvm service loader
Expand Down

0 comments on commit ae681d4

Please sign in to comment.