support multiple sources of annotations artifacts IDEA-201598

look for '-annotations' artifacts by original "groupId:artifactId" (when provided by library author) and by modified "groupId:artifactId-annotations" (when provided by third party)
This commit is contained in:
Nikita Skvortsov
2018-11-02 13:49:55 +03:00
parent a4b60eddd5
commit b47ccfc131
5 changed files with 69 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ import java.util.EnumSet;
public enum ArtifactKind {
ARTIFACT("", "jar"), SOURCES("sources", "jar"), JAVADOC("javadoc", "jar"),
ANNOTATIONS("", "zip"), AAR_ARTIFACT("", "aar");
ANNOTATIONS("annotations", "zip"), AAR_ARTIFACT("", "aar");
private final String myClassifier;
private final String myExtension;