Hi,
I am in my initial phases of writing IntelliJ plugin. My requirement is I want to access the most recent command and its response (if any) from the terminal and also, I need to execute the commands in terminal.
I read that with the help Terminal plugin we can achieve the above.
So I tried to add the terminal dependency in my project like below.
in gradle.properties
platformPlugins = org.jetbrains.plugins.terminal
in build.gradle.kts
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
in plugin.xml
<depends>org.jetbrains.plugins.terminal</depends>
but I am getting
Configuration cache state could not be cached: field `provider` of `org.gradle.internal.serialize.codecs.core.ProviderBackedFileCollectionSpec` bean found in field `element` of `java.util.Collections$SingletonList` bean found in field `elements` of `org.gradle.internal.serialize.codecs.core.ResolutionBackedFileCollectionSpec` bean found in field `__classpathSnapshot__` of `org.jetbrains.kotlin.gradle.tasks.KotlinCompile$ClasspathSnapshotProperties` bean found in field `__classpathSnapshotProperties__` of task `:compileKotlin` of type `org.jetbrains.kotlin.gradle.tasks.KotlinCompile`: error writing value of type 'org.gradle.api.internal.provider.DefaultProvider'
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.jetbrains.plugins:org.jetbrains.plugins.terminal:.
Required by:
root project :
Note: I am using intelliJ community edition
if the terminal plugin is not available in community Edition, what is the alternate for this and How to achieve this requirement ?