Annotations file name change: annotations.txt -> annotations.kotlin.txt

This commit is contained in:
Yan Zhulanow
2015-05-19 18:11:57 +03:00
parent fdc183e3af
commit 01a097dae7
2 changed files with 2 additions and 2 deletions
@@ -71,7 +71,7 @@ public abstract class AnnotationProcessorWrapper(private val processorFqName: St
return
}
val annotationsTxt = processingEnv.getFiler().getResource(StandardLocation.CLASS_PATH, "", "0apt/annotations.txt")
val annotationsTxt = processingEnv.getFiler().getResource(StandardLocation.CLASS_PATH, "", "annotations.kotlin.txt")
kotlinAnnotationsProvider = FileObjectKotlinAnnotationProvider(annotationsTxt)
processor.init(processingEnv)
@@ -34,7 +34,7 @@ public class AnnotationProcessingManager(private val task: KotlinCompile) {
private companion object {
val JAVA_FQNAME_PATTERN = "^([\\p{L}_$][\\p{L}\\p{N}_$]*\\.)*[\\p{L}_$][\\p{L}\\p{N}_$]*$".toRegex()
val WRAPPERS_DIRECTORY = "wrappers"
val ANNOTATIONS_FILENAME = "annotations.txt"
val ANNOTATIONS_FILENAME = "annotations.kotlin.txt"
}
fun getAnnotationFile(): File {