| // Licensed to the Apache Software Foundation (ASF) under one | |
| // or more contributor license agreements. See the NOTICE file | |
| // distributed with this work for additional information | |
| // regarding copyright ownership. The ASF licenses this file | |
| // to you under the Apache License, Version 2.0 (the | |
| // "License"); you may not use this file except in compliance | |
| // with the License. You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, | |
| // software distributed under the License is distributed on an | |
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| // KIND, either express or implied. See the License for the | |
| // specific language governing permissions and limitations | |
| // under the License. | |
| name := "operator-reference" | |
| ThisBuild / semanticdbEnabled := true | |
| ThisBuild / semanticdbVersion := scalafixSemanticdb.revision | |
| Compile / scalacOptions ++= Seq( | |
| "-feature", // Check feature warnings | |
| "-deprecation", // Check deprecation warnings | |
| "-Ywarn-unused:imports" // Check for unused imports | |
| ) | |
| libraryDependencies ++= Seq( | |
| "org.scalatest" %% "scalatest" % "3.2.20" % Test | |
| ) | |
| // Arrow 19's transitive deps pull jackson-databind past the 2.18 line that | |
| // jackson-module-scala is pinned to; force the Jackson core family back to | |
| // the version common/workflow-operator declares so the Scala module can initialize. | |
| val jacksonVersion = "2.18.8" | |
| dependencyOverrides ++= Seq( | |
| "com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion, | |
| "com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion, | |
| "com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion | |
| ) |