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).