Skip to content

Commit

Permalink
Allow experimental API usage by plugin (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones authored Sep 5, 2024
1 parent 8c34e96 commit 13be393
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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
)
)

0 comments on commit 13be393

Please sign in to comment.