Annotations file name change: annotations.txt -> annotations.kotlin.txt
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user