Skip to content

Instantly share code, notes, and snippets.

@MrCoder
Last active August 14, 2021 02:18
Show Gist options
  • Save MrCoder/74e4ad0fb27ed5f117e2537b86b93a1b to your computer and use it in GitHub Desktop.
Save MrCoder/74e4ad0fb27ed5f117e2537b86b93a1b to your computer and use it in GitHub Desktop.
[buildSearchableOptions throws exception in CI build] https://github.com/JetBrains/gradle-intellij-plugin/issues/738 We have to disable this task in build.gradle.
apply plugin: 'org.jetbrains.intellij'
// Disable all Gradle Tasks for the gradle-intellij-plugin as we only use the plugin for the dependencies
buildPlugin.enabled = false
buildSearchableOptions.enabled = false // we only need to disable this one
jarSearchableOptions.enabled = false
patchPluginXml.enabled = false
prepareSandbox.enabled = false
prepareTestingSandbox.enabled = false
prepareUiTestingSandbox.enabled = false
publishPlugin.enabled = false
runIde.enabled = false
runIdeForUiTests.enabled = false
verifyPlugin.enabled = false
intellij {
version = ideaVersion
}
@MrCoder
Copy link
Author

MrCoder commented Aug 14, 2021

JetBrains/intellij-platform-gradle-plugin#738 We have to disable this task in build.gradle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment