SamWithReceiver: Pick the right compiler plugin (KT-20813)
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ class SamWithReceiverGradleProjectImportHandler : AbstractGradleImportHandler()
|
|||||||
override val pluginName = "sam-with-receiver"
|
override val pluginName = "sam-with-receiver"
|
||||||
override val annotationOptionName = SamWithReceiverCommandLineProcessor.ANNOTATION_OPTION.name
|
override val annotationOptionName = SamWithReceiverCommandLineProcessor.ANNOTATION_OPTION.name
|
||||||
override val dataStorageTaskName = "samWithReceiverDataStorageTask"
|
override val dataStorageTaskName = "samWithReceiverDataStorageTask"
|
||||||
override val pluginJarFileFromIdea = PathUtil.kotlinPathsForIdeaPlugin.allOpenPluginJarPath
|
override val pluginJarFileFromIdea = PathUtil.kotlinPathsForIdeaPlugin.samWithReceiverJarPath
|
||||||
|
|
||||||
override fun getAnnotationsForPreset(presetName: String): List<String> {
|
override fun getAnnotationsForPreset(presetName: String): List<String> {
|
||||||
for ((name, annotations) in SamWithReceiverCommandLineProcessor.SUPPORTED_PRESETS.entries) {
|
for ((name, annotations) in SamWithReceiverCommandLineProcessor.SUPPORTED_PRESETS.entries) {
|
||||||
|
|||||||
Reference in New Issue
Block a user