This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d05b3c8f fix: disable -Werror for 'file' on Java 21 CI (#714)
9d05b3c8f is described below

commit 9d05b3c8ff21292f7d9c022edd5c0b78e740d2c5
Author: Arnout Engelen <[email protected]>
AuthorDate: Tue Jul 2 08:54:47 2024 +0200

    fix: disable -Werror for 'file' on Java 21 CI (#714)
---
 build.sbt | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build.sbt b/build.sbt
index c1a10ad1d..6e20858d7 100644
--- a/build.sbt
+++ b/build.sbt
@@ -166,7 +166,14 @@ lazy val elasticsearch = pekkoConnectorProject(
   Dependencies.Elasticsearch)
 
 // The name 'file' is taken by `sbt.file`, hence 'files'
-lazy val files = pekkoConnectorProject("file", "file", Dependencies.File)
+lazy val files = pekkoConnectorProject(
+  "file",
+  "file",
+  Dependencies.File,
+  // For `SensitivityWatchEventModifier.HIGH`
+  // https://github.com/apache/pekko-connectors/issues/296
+  javacOptions -= "-Werror"
+)
 
 lazy val ftp = pekkoConnectorProject(
   "ftp",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to