From d37be7f7c9931faa99175865a183b3b165c2cc35 Mon Sep 17 00:00:00 2001 From: Michel Davit Date: Thu, 5 Sep 2024 14:35:37 +0200 Subject: [PATCH] Allow experimental API usage by plugin --- build.sbt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 2b3e200..da8d681 100644 --- a/build.sbt +++ b/build.sbt @@ -14,6 +14,8 @@ * specific language governing permissions and limitations * under the License. */ +import org.jetbrains.sbtidea.verifier.FailureLevel +import scala.jdk.CollectionConverters._ disablePlugins(TypelevelCiSigningPlugin) @@ -77,11 +79,15 @@ lazy val scioIdeaPlugin: Project = project // https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#platformVersions xml.sinceBuild = "223" // for 2022.3 }, - // verify against latest IntelliJ IDEA Community pluginVerifierOptions := pluginVerifierOptions.value.copy( + // verify against latest IntelliJ IDEA Community overrideIDEs = Seq( intellijBaseDirectory.value.toString, "[latest-IC]" - ) + ), + // allow experimental API usages + failureLevels = FailureLevel.ALL.asScala + .filter(_ != FailureLevel.EXPERIMENTAL_API_USAGES) + .toSet ) )