diff --git a/plexus-cipher-build.xml b/plexus-cipher-build.xml
index 8dddb62..3ed757a 100644
--- a/plexus-cipher-build.xml
+++ b/plexus-cipher-build.xml
@@ -9,20 +9,20 @@
-
-
+
+
-
+
-
+
+
-
@@ -31,7 +31,6 @@
-
@@ -55,6 +54,7 @@
debug="true"
optimize="false"
deprecation="true"
+ release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
@@ -64,9 +64,6 @@
-
-
-
diff --git a/plexus-cipher.changes b/plexus-cipher.changes
index 8387111..e36a172 100644
--- a/plexus-cipher.changes
+++ b/plexus-cipher.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Oct 25 15:16:02 UTC 2023 - Fridrich Strba
+
+- Build with source and target levels 8
+
-------------------------------------------------------------------
Thu Jan 13 17:22:41 UTC 2022 - Fridrich Strba
diff --git a/plexus-cipher.spec b/plexus-cipher.spec
index 64b4ced..9f3cd8f 100644
--- a/plexus-cipher.spec
+++ b/plexus-cipher.spec
@@ -1,7 +1,7 @@
#
# spec file for package plexus-cipher
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@ Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: atinject
BuildRequires: fdupes
-BuildRequires: java-devel >= 1.7
+BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local >= 6
BuildRequires: sisu-inject
BuildArch: noarch