Skip to content

Compilation warning about Kotlin's AnnotationTarget enum #15

@tlinkowski

Description

@tlinkowski

The following warning occurs when compiling with basic-annotations in compileOnly scope:

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions