[Gradle] Enable K2 support for sample compiler plugin
^KT-61106 Verification Pending
This commit is contained in:
committed by
Space Team
parent
3e1f4c11dc
commit
c3ab626c63
+2
@@ -55,4 +55,6 @@ public class ExampleComponentRegistrar : ComponentRegistrar {
|
|||||||
val messageCollector = configuration.get(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, MessageCollector.NONE)
|
val messageCollector = configuration.get(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, MessageCollector.NONE)
|
||||||
messageCollector.report(CompilerMessageSeverity.INFO, "Project component registration: $exampleValue")
|
messageCollector.report(CompilerMessageSeverity.INFO, "Project component registration: $exampleValue")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override val supportsK2: Boolean = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user