The following warning occurs when compiling with `basic-annotations` in `compileOnly` scope: ```text warning: unknown enum constant AnnotationTarget.ANNOTATION_CLASS reason: class file for kotlin.annotation.AnnotationTarget not found ``` This happens e.g. when compiling `sample-java-api` subproject: https://travis-ci.com/tlinkowski/basic-annotations/builds/123617322#L278-L279 Caused by [KT-33141](https://youtrack.jetbrains.com/issue/KT-33141).
The following warning occurs when compiling with
basic-annotationsincompileOnlyscope:This happens e.g. when compiling
sample-java-apisubproject: https://travis-ci.com/tlinkowski/basic-annotations/builds/123617322#L278-L279Caused by KT-33141.