Kapt: Support apt options (KT-13984)
(cherry picked from commit b566a37)
This commit is contained in:
committed by
Yan Zhulanow
parent
0ae9a7a9d1
commit
f15f90a719
+4
-1
@@ -46,7 +46,10 @@ class AnnotationProcessingExtensionForTests(
|
||||
) : AbstractAnnotationProcessingExtension(createTempDir(), createTempDir(), listOf(), true,
|
||||
createIncrementalDataFile(), SourceRetentionAnnotationHandlerImpl()) {
|
||||
override fun loadAnnotationProcessors() = processors
|
||||
|
||||
|
||||
override val options: Map<String, String>
|
||||
get() = emptyMap()
|
||||
|
||||
private companion object {
|
||||
fun createTempDir(): File = Files.createTempDirectory("ap-test").toFile().apply {
|
||||
deleteOnExit()
|
||||
|
||||
Reference in New Issue
Block a user