Skip to content

Commit

Permalink
Exclude bugquery if not having GCP credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Aug 30, 2023
1 parent dc5c007 commit f53562e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,15 @@ lazy val integration: Project = project
"org.apache.beam" % "beam-sdks-java-io-google-cloud-platform" % beamVersion % Test,
"org.slf4j" % "log4j-over-slf4j" % slf4jVersion % Test,
"org.slf4j" % "slf4j-simple" % slf4jVersion % Test
)
),
// exclude problematic sources if we don't have GCP credentials
unmanagedSources / excludeFilter := {
if (BuildCredentials.exists) {
HiddenFileFilter
} else {
HiddenFileFilter || "**/bigquery/**/*.scala"
}
}
)

// =======================================================================
Expand Down

0 comments on commit f53562e

Please sign in to comment.